fork download
  1. #include <iostream>
  2. #include <cmath>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.  
  9. double N;
  10. double i =0;
  11.  
  12. cin >> N;
  13.  
  14. cout << "** Exam Score Analysis **" << endl;
  15.  
  16. while ( N >= -1)
  17. {
  18. i = i + 1;
  19. }
  20. cout << "# scores: " << i << endl;
  21.  
  22. return 0;
  23. }
Time limit exceeded #stdin #stdout 5s 16064KB
stdin
55
73
81
84
90
17
-1
stdout
** Exam Score Analysis **