Pagini recente » Borderou de evaluare (job #1267986) | Borderou de evaluare (job #506437) | Borderou de evaluare (job #473122) | Borderou de evaluare (job #2173502) | Borderou de evaluare (job #2159100)
Borderou de evaluare (job #2159100)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:40:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (p >= costuri[c].size())
^
user.cpp: In function ‘void citire()’:
user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &N);
^
user.cpp:23: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:30:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &Q);
^
user.cpp:34: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:47: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:48: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 | 2900kb | OK | 10 |
2 | 4ms | 2908kb | OK | 10 |
3 | 4ms | 2908kb | OK | 10 |
4 | 128ms | 3612kb | OK | 10 |
5 | 132ms | 3880kb | OK | 10 |
6 | 132ms | 3752kb | OK | 10 |
7 | 120ms | 3704kb | OK | 10 |
8 | 136ms | 3708kb | OK | 10 |
9 | 136ms | 3608kb | OK | 10 |
10 | 136ms | 3628kb | OK | 10 |
Punctaj total | 100 |