Pagini recente » Borderou de evaluare (job #659638) | Borderou de evaluare (job #2202153) | Borderou de evaluare (job #293424) | Borderou de evaluare (job #1657890) | Borderou de evaluare (job #1912865)
Borderou de evaluare (job #1912865)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS(short int)’:
user.cpp:23: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:61: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:47: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 | Incorect | 0 |
2 | 0ms | 440kb | OK | 10 |
3 | 0ms | 436kb | Incorect | 0 |
4 | 0ms | 444kb | Incorect | 0 |
5 | 0ms | 444kb | Incorect | 0 |
6 | 12ms | 700kb | OK | 10 |
7 | 4ms | 544kb | OK | 10 |
8 | 8ms | 564kb | OK | 10 |
9 | 8ms | 564kb | OK | 10 |
10 | 12ms | 696kb | Incorect | 0 |
Punctaj total | 50 |