Pagini recente » Borderou de evaluare (job #2417108) | Borderou de evaluare (job #2410279) | Borderou de evaluare (job #1435422) | Cod sursa (job #2393365) | Borderou de evaluare (job #1859748)
Borderou de evaluare (job #1859748)
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 | 844kb | OK | 10 |
| 2 | 0ms | 844kb | OK | 10 |
| 3 | 0ms | 848kb | OK | 10 |
| 4 | 0ms | 880kb | OK | 10 |
| 5 | 4ms | 920kb | OK | 10 |
| 6 | 8ms | 988kb | OK | 10 |
| 7 | 16ms | 1160kb | OK | 10 |
| 8 | 24ms | 1276kb | OK | 10 |
| 9 | 52ms | 1624kb | OK | 10 |
| 10 | 88ms | 1912kb | OK | 10 |
| Punctaj total | 100 |