Borderou de evaluare (job #2456888)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d %d", &N, &L, &U);
^
main.cpp:23:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &seq.cost[i]);
^
main.cpp:25:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &seq.time[i]);
^
main.cpp:45:9: warning: 'seq.Sequence::max_ratio' may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(g, "%0.2f", seq.max_ratio);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | OK! | 10 |
3 | 5ms | 131kb | OK! | 10 |
4 | 15ms | 131kb | OK! | 10 |
5 | 150ms | 262kb | OK! | 10 |
6 | 251ms | 131kb | Time limit exceeded | 0 |
7 | 252ms | 262kb | Time limit exceeded | 0 |
8 | 251ms | 262kb | Time limit exceeded | 0 |
9 | 252ms | 262kb | Time limit exceeded | 0 |
10 | 251ms | 393kb | Time limit exceeded | 0 |
Punctaj total | 50 |