Pagini recente » Borderou de evaluare (job #1494779) | Borderou de evaluare (job #1403358) | Borderou de evaluare (job #2142481) | Borderou de evaluare (job #1431317) | Borderou de evaluare (job #2557095)
Borderou de evaluare (job #2557095)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:18:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:37:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("radare.in", "r", stdin);
^
main.cpp:38:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("radare.out", "w", stdout);
^
main.cpp:40:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &p);
^
main.cpp:42:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
main.cpp:47:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 262kb | OK | 10 |
2 | 2ms | 262kb | OK | 10 |
3 | 2ms | 262kb | OK | 10 |
4 | 5ms | 1048kb | OK | 10 |
5 | 7ms | 1572kb | OK | 10 |
6 | 8ms | 1572kb | OK | 10 |
7 | 117ms | 22282kb | OK | 10 |
8 | 182ms | 35258kb | OK | 10 |
9 | 96ms | 13500kb | OK | 10 |
10 | 115ms | 18612kb | OK | 10 |
Punctaj total | 100 |