Borderou de evaluare (job #2503247)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("stramosi.in", "r", stdin);
^
main.cpp:10:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("stramosi.out", "w", stdout);
^
main.cpp:11:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
main.cpp:12:51: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1; i<=n; i++) scanf("%d", &dp[i][0]);
^
main.cpp:16:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
{ scanf("%d%d", &nod, &dist);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 4ms | 131kb | OK! | 10 |
3 | 6ms | 262kb | OK! | 10 |
4 | 18ms | 917kb | OK! | 10 |
5 | 25ms | 1048kb | OK! | 10 |
6 | 102ms | 2883kb | OK! | 10 |
7 | 176ms | 5636kb | OK! | 10 |
8 | 280ms | 8519kb | OK! | 10 |
9 | 700ms | 17563kb | Time limit exceeded | 0 |
10 | 701ms | 21364kb | Time limit exceeded | 0 |
Punctaj total | 80 |