Pagini recente » Cod sursa (job #3176502) | Borderou de evaluare (job #506084) | Cod sursa (job #306594) | Cod sursa (job #2780652) | Borderou de evaluare (job #2755531)
Borderou de evaluare (job #2755531)
Raport evaluator
Compilare:
main.cpp: In function 'void add(int)':
main.cpp:52:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < G[x].size(); i++) {
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:105:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < q.front().second.size(); i++) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:58:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("matrice2.in", "r", stdin);
^
main.cpp:59:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("matrice2.out", "w", stdout);
^
main.cpp:61:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &nrq);
^
main.cpp:64:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &mat[i][j]);
^
main.cpp:84:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &a, &b, &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 7ms | 2359kb | OK | 5 |
| 2 | 8ms | 2359kb | OK | 5 |
| 3 | 11ms | 2490kb | OK | 5 |
| 4 | 42ms | 2883kb | OK | 5 |
| 5 | 28ms | 2752kb | OK | 5 |
| 6 | 35ms | 2752kb | OK | 5 |
| 7 | 43ms | 2883kb | OK | 5 |
| 8 | 969ms | 3198kb | OK | 5 |
| 9 | 954ms | 3145kb | OK | 5 |
| 10 | 1154ms | 4448kb | Time limit exceeded | 0 |
| 11 | 1154ms | 4448kb | Time limit exceeded | 0 |
| 12 | 1151ms | 6422kb | Time limit exceeded | 0 |
| 13 | 1152ms | 6422kb | Time limit exceeded | 0 |
| 14 | 1150ms | 6684kb | Time limit exceeded | 0 |
| 15 | 1152ms | 6590kb | Time limit exceeded | 0 |
| 16 | 1153ms | 6791kb | Time limit exceeded | 0 |
| 17 | 1153ms | 6787kb | Time limit exceeded | 0 |
| 18 | 1153ms | 6950kb | Time limit exceeded | 0 |
| 19 | 1151ms | 7204kb | Time limit exceeded | 0 |
| 20 | 1152ms | 7204kb | Time limit exceeded | 0 |
| Punctaj total | 45 |