Pagini recente » Cod sursa (job #3236975) | Cod sursa (job #915629) | Cod sursa (job #2865088) | Cod sursa (job #499244) | Borderou de evaluare (job #1952690)
Borderou de evaluare (job #1952690)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve_cycle()’:
user.cpp:84:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < costs.size(); i++) {
^
user.cpp:98:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i + 1 < nodes.size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:111:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sistem3.in","r",stdin);
^
user.cpp:112:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sistem3.out","w",stdout);
^
user.cpp:114:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &mod);
^
user.cpp:116:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &w);
^
user.cpp:123:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= n; i++) scanf("%d", &data[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2888kb | OK | 10 |
| 2 | 4ms | 2900kb | OK | 10 |
| 3 | 8ms | 3024kb | OK | 10 |
| 4 | 172ms | 6864kb | OK | 10 |
| 5 | 364ms | 10860kb | OK | 10 |
| 6 | 4ms | 2908kb | OK | 10 |
| 7 | 16ms | 3380kb | OK | 10 |
| 8 | 32ms | 3736kb | OK | 10 |
| 9 | 432ms | 17944kb | Wrong answer | 0 |
| 10 | 388ms | 11408kb | OK | 10 |
| Punctaj total | 90 |