Pagini recente » Borderou de evaluare (job #2932699) | Borderou de evaluare (job #1160883) | Borderou de evaluare (job #943484) | Borderou de evaluare (job #1105797) | Borderou de evaluare (job #1629372)
Borderou de evaluare (job #1629372)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:22:54: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &nr_of_rooms, &nr_of_switches);
^
user.cpp:24:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &room[i]);
^
user.cpp:27:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &r); // where the switch is
^
user.cpp:28:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &time_to_switch[r]);
^
user.cpp:29:52: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &nr_of_rooms_to_switch[r]);
^
user.cpp:31:52: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &room_to_switch[j][r]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 480kb | OK | 5 |
| 2 | 0ms | 496kb | OK | 5 |
| 3 | 0ms | 496kb | OK | 5 |
| 4 | 0ms | 516kb | OK | 5 |
| 5 | 0ms | 492kb | OK | 5 |
| 6 | 0ms | 488kb | OK | 5 |
| 7 | 0ms | 500kb | OK | 5 |
| 8 | 0ms | 516kb | OK | 5 |
| 9 | 0ms | 488kb | OK | 5 |
| 10 | 0ms | 500kb | OK | 5 |
| 11 | 0ms | 492kb | OK | 5 |
| 12 | 0ms | 500kb | OK | 5 |
| 13 | 0ms | 496kb | OK | 5 |
| 14 | 0ms | 492kb | OK | 5 |
| 15 | 0ms | 616kb | OK | 5 |
| 16 | 0ms | 596kb | OK | 5 |
| 17 | 12ms | 856kb | OK | 5 |
| 18 | 0ms | 548kb | OK | 5 |
| 19 | 0ms | 484kb | OK | 5 |
| 20 | 0ms | 508kb | OK | 5 |
| Punctaj total | 100 |