Borderou de evaluare (job #2692598)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:55:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<v.size()-1; i++)
~^~~~~~~~~~~
main.cpp:61:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<std::pair<int, int> >::size_type {aka long unsigned int}' [-Wformat=]
fprintf(fout, "%d\n", ans.size());
^
main.cpp:19:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
main.cpp:21:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &next[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 262kb | Ok! | 10 |
2 | 3ms | 262kb | Ok! | 10 |
3 | 3ms | 262kb | Ok! | 10 |
4 | 3ms | 262kb | Ok! | 10 |
5 | 3ms | 262kb | Ok! | 10 |
6 | 35ms | 1048kb | Ok! | 10 |
7 | 3ms | 262kb | Ok! | 10 |
8 | 3ms | 262kb | Ok! | 10 |
9 | 10ms | 393kb | Ok! | 10 |
10 | 58ms | 1961kb | Ok! | 10 |
Punctaj total | 100 |