Pagini recente » Cod sursa (job #1960999) | Borderou de evaluare (job #1375308) | Borderou de evaluare (job #825047) | Borderou de evaluare (job #2280310) | Borderou de evaluare (job #1954036)
Borderou de evaluare (job #1954036)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:10:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < G[nod].size(); ++i){
^
user.cpp: In function ‘int main()’:
user.cpp:18:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.in", "r", stdin);
^
user.cpp:19:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.out", "w", stdout);
^
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:24:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &u, &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 848kb | OK | 10 |
2 | 0ms | 852kb | OK | 10 |
3 | 0ms | 856kb | OK | 10 |
4 | 0ms | 876kb | OK | 10 |
5 | 4ms | 912kb | OK | 10 |
6 | 8ms | 952kb | OK | 10 |
7 | 16ms | 1104kb | OK | 10 |
8 | 24ms | 1204kb | OK | 10 |
9 | 52ms | 1556kb | OK | 10 |
10 | 84ms | 1872kb | OK | 10 |
Punctaj total | 100 |