Pagini recente » Borderou de evaluare (job #1817130) | Borderou de evaluare (job #2107509) | Borderou de evaluare (job #1933413) | Borderou de evaluare (job #2655212) | Borderou de evaluare (job #1877066)
Borderou de evaluare (job #1877066)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:12:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0; j<G[nod].size(); j++) if (!used[G[nod][j]]) dfs(G[nod][j]);
^
user.cpp: In function ‘int main()’:
user.cpp:17: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:18: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:19:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:22:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 836kb | OK | 10 |
2 | 0ms | 844kb | OK | 10 |
3 | 0ms | 852kb | OK | 10 |
4 | 0ms | 876kb | OK | 10 |
5 | 4ms | 916kb | OK | 10 |
6 | 8ms | 988kb | OK | 10 |
7 | 16ms | 1156kb | OK | 10 |
8 | 24ms | 1284kb | OK | 10 |
9 | 56ms | 1624kb | OK | 10 |
10 | 88ms | 1908kb | OK | 10 |
Punctaj total | 100 |