Pagini recente » Borderou de evaluare (job #213848) | Borderou de evaluare (job #77548) | Borderou de evaluare (job #77546) | Borderou de evaluare (job #658154) | Borderou de evaluare (job #2159097)
Borderou de evaluare (job #2159097)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:34:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (costuri[c].size() < p)
^
user.cpp: In function ‘void citire()’:
user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &N);
^
user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[i]);
^
user.cpp: In function ‘void solve()’:
user.cpp:29:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &Q);
^
user.cpp:33:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &p, &c);
^
user.cpp: In function ‘int main()’:
user.cpp:41:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("costuri.in", "r", stdin);
^
user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("costuri.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2876kb | OK | 10 |
| 2 | 4ms | 2948kb | OK | 10 |
| 3 | 4ms | 2928kb | OK | 10 |
| 4 | 128ms | 3700kb | Incorect | 0 |
| 5 | 132ms | 3812kb | Incorect | 0 |
| 6 | 132ms | 3732kb | Incorect | 0 |
| 7 | 120ms | 3616kb | Incorect | 0 |
| 8 | 128ms | 3644kb | Incorect | 0 |
| 9 | 132ms | 3784kb | Incorect | 0 |
| 10 | 128ms | 3612kb | Incorect | 0 |
| Punctaj total | 30 |