Pagini recente » Diferente pentru problema/munte intre reviziile 15 si 16 | Vagoane | Borderou de evaluare (job #909831) | Borderou de evaluare (job #2782654) | Borderou de evaluare (job #1529087)
Borderou de evaluare (job #1529087)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cool.in","r",stdin);
^
user.cpp:17:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cool.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\n",&query);
^
user.cpp:22:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&N);
^
user.cpp:25:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d\n",&k); i<=N ; ++i)
^
user.cpp:27:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp:49:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&N);
^
user.cpp:51:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d\n",&k); i<=N ; ++i)
^
user.cpp:53:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 456kb | OK | 5 |
| 2 | 0ms | 452kb | OK | 5 |
| 3 | 0ms | 456kb | OK | 5 |
| 4 | 0ms | 452kb | OK | 5 |
| 5 | 0ms | 452kb | OK | 5 |
| 6 | 0ms | 456kb | OK | 5 |
| 7 | 0ms | 452kb | OK | 5 |
| 8 | 4ms | 468kb | OK | 5 |
| 9 | 4ms | 464kb | OK | 5 |
| 10 | 4ms | 468kb | OK | 5 |
| 11 | 8ms | 468kb | OK | 5 |
| 12 | 8ms | 468kb | OK | 5 |
| 13 | 24ms | 468kb | OK | 5 |
| 14 | 12ms | 468kb | OK | 5 |
| 15 | 8ms | 468kb | OK | 5 |
| 16 | 24ms | 468kb | OK | 5 |
| 17 | 8ms | 472kb | OK | 5 |
| 18 | 0ms | 468kb | OK | 5 |
| 19 | 4ms | 468kb | OK | 5 |
| 20 | 0ms | 464kb | OK | 5 |
| Punctaj total | 100 |