Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #1531110) | Borderou de evaluare (job #2969547) | Borderou de evaluare (job #2272737) | Borderou de evaluare (job #1912994)
Borderou de evaluare (job #1912994)
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:40: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:41: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:42: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:49: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 | 444kb | OK | 10 |
| 2 | 0ms | 452kb | Incorect | 0 |
| 3 | 0ms | 448kb | Incorect | 0 |
| 4 | 0ms | 452kb | OK | 10 |
| 5 | 0ms | 444kb | OK | 10 |
| 6 | 12ms | 572kb | Incorect | 0 |
| 7 | 4ms | 564kb | Incorect | 0 |
| 8 | 8ms | 576kb | Incorect | 0 |
| 9 | 12ms | 716kb | Incorect | 0 |
| 10 | 12ms | 572kb | Incorect | 0 |
| Punctaj total | 30 |