Pagini recente » Borderou de evaluare (job #931712) | Borderou de evaluare (job #1619535) | Borderou de evaluare (job #1173654) | Borderou de evaluare (job #2414986) | Borderou de evaluare (job #1913504)
Borderou de evaluare (job #1913504)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS(short int)’:
user.cpp:24:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < G[node].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:67:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < ans.size(); i++)
^
user.cpp:39:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.in", "rt", stdin);
^
user.cpp:40:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.out", "wt", stdout);
^
user.cpp:41:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd%hd%hd", &N, &M, &A, &B);
^
user.cpp:48:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd", &u, &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 440kb | OK | 10 |
3 | 0ms | 440kb | OK | 10 |
4 | 0ms | 436kb | OK | 10 |
5 | 0ms | 440kb | OK | 10 |
6 | 12ms | 560kb | OK | 10 |
7 | 4ms | 556kb | OK | 10 |
8 | 8ms | 564kb | OK | 10 |
9 | 8ms | 560kb | OK | 10 |
10 | 12ms | 560kb | OK | 10 |
Punctaj total | 100 |