Pagini recente » Borderou de evaluare (job #879505) | Borderou de evaluare (job #1742890) | Borderou de evaluare (job #1891754) | Borderou de evaluare (job #857374) | Borderou de evaluare (job #1912905)
Borderou de evaluare (job #1912905)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS(short int)’:
user.cpp:25: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:64:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < ans.size(); i++)
^
user.cpp:41: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:42: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:43: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:50: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 | Incorect | 0 |
| 3 | 0ms | 436kb | Incorect | 0 |
| 4 | 0ms | 440kb | OK | 10 |
| 5 | 0ms | 440kb | OK | 10 |
| 6 | 12ms | 560kb | Incorect | 0 |
| 7 | 4ms | 560kb | Incorect | 0 |
| 8 | 8ms | 564kb | Incorect | 0 |
| 9 | 12ms | 560kb | Incorect | 0 |
| 10 | 12ms | 564kb | Incorect | 0 |
| Punctaj total | 30 |