Pagini recente » Cod sursa (job #204271) | Cod sursa (job #3154166) | Cod sursa (job #2015698) | Cod sursa (job #742912) | Borderou de evaluare (job #1587297)
Borderou de evaluare (job #1587297)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:97:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kami.in","r",stdin);
^
user.cpp:98:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kami.out","w",stdout);
^
user.cpp:99:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:100:72: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1;i <= n;++i) scanf("%d",v+i),now[i] = now[i-1] + v[i];
^
user.cpp:104:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:108:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&typ);
^
user.cpp:112:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp:121:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 452kb | OK | 10 | 10 |
| 2 | 4ms | 580kb | OK | 10 | 10 |
| 3 | Depăşit | 15944kb | Time limit exceeded. | 0 | 0 |
| 4 | 220ms | 8076kb | OK | 10 | 10 |
| 5 | 284ms | 8208kb | OK | 10 | 10 |
| 6 | 280ms | 8204kb | OK | 10 | 10 |
| 7 | Depăşit | 9116kb | Time limit exceeded. | 0 | 0 |
| 8 | Depăşit | 15944kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 15944kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 15940kb | Time limit exceeded. | 0 | 0 |
| Punctaj total | 50 |