Pagini recente » Cod sursa (job #906142) | Cod sursa (job #476124) | Cod sursa (job #360848) | Borderou de evaluare (job #1319524) | Borderou de evaluare (job #1519401)
Borderou de evaluare (job #1519401)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:18:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[dad].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:43:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("egal.in", "r", stdin);
^
user.cpp:44:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("egal.out", "w", stdout);
^
user.cpp:46:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:49:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp:54:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c[i]);
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:37:22: warning: ‘max_key’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cmax[dad]=max_key;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 3964kb | OK | 5 | 5 |
| 2 | 4ms | 3960kb | OK | 5 | 5 |
| 3 | 4ms | 3964kb | OK | 5 | 5 |
| 4 | 4ms | 3968kb | OK | 5 | 5 |
| 5 | 8ms | 4008kb | OK | 5 | 5 |
| 6 | 8ms | 4000kb | OK | 5 | 5 |
| 7 | 8ms | 4004kb | OK | 5 | 5 |
| 8 | 8ms | 4040kb | OK | 5 | 5 |
| 9 | Depăşit | 7600kb | Time limit exceeded. | 0 | 0 |
| 10 | 276ms | 7208kb | OK | 5 |
| 11 | 368ms | 7244kb | OK | 5 |
| 12 | 416ms | 9704kb | OK | 5 |
| 13 | Depăşit | 9420kb | Time limit exceeded. | 0 | 0 |
| 14 | 284ms | 7692kb | OK | 5 |
| 16 | 252ms | 7728kb | OK | 5 |
| 17 | Depăşit | 9848kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 13776kb | Time limit exceeded. | 0 | 0 |
| 18 | 548ms | 10208kb | OK | 5 |
| 19 | 516ms | 8140kb | OK | 5 |
| 20 | 424ms | 8132kb | OK | 5 |
| Punctaj total | 40 |