Pagini recente » Borderou de evaluare (job #1494581) | Borderou de evaluare (job #124051) | Borderou de evaluare (job #1556878) | Borderou de evaluare (job #1654190) | Borderou de evaluare (job #1511307)
Borderou de evaluare (job #1511307)
Raport evaluator
Compilare:
user.cpp: In function ‘int bfs(int, int)’:
user.cpp:24:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<gr[nod].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:44:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in", "r", stdin);
^
user.cpp:45:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out", "w", stdout);
^
user.cpp:46:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &max_w);
^
user.cpp:48:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", ok+i);
^
user.cpp:49:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:53:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &x, &y, &t, &w);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 512kb | OK | 10 |
2 | 16ms | 632kb | OK | 10 |
3 | 0ms | 504kb | OK | 10 |
4 | 40ms | 556kb | OK | 10 |
5 | 48ms | 596kb | OK | 10 |
6 | 60ms | 604kb | OK | 10 |
7 | 56ms | 568kb | OK | 10 |
8 | 0ms | 500kb | OK | 10 |
9 | 0ms | 312kb | OK | 10 |
10 | 4ms | 508kb | OK | 10 |
Punctaj total | 100 |