Pagini recente » Borderou de evaluare (job #2292736) | Borderou de evaluare (job #2288582) | Borderou de evaluare (job #2210569) | Borderou de evaluare (job #1893346) | Borderou de evaluare (job #1454629)
Borderou de evaluare (job #1454629)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:23:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < G[n].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:60:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
else if (c == ans.c)
^
user.cpp:29:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.in", "r", stdin);
^
user.cpp:30:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.out", "w", stdout);
^
user.cpp:32:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:33:50: 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", &pr[i]);
^
user.cpp:37:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
++In[y];
^
user.cpp:52:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n1, &n2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 668kb | OK | 10 |
2 | 0ms | 680kb | OK | 10 |
3 | 0ms | 780kb | OK | 10 |
4 | 4ms | 1060kb | OK | 10 |
5 | 4ms | 1060kb | OK | 10 |
6 | 16ms | 2088kb | OK | 10 |
7 | 272ms | 6788kb | OK | 10 |
8 | 32ms | 3624kb | OK | 10 |
9 | 220ms | 5192kb | OK | 10 |
10 | 308ms | 5356kb | OK | 10 |
Punctaj total | 100 |