Pagini recente » Borderou de evaluare (job #1494031) | Borderou de evaluare (job #266359) | Borderou de evaluare (job #3180401) | Borderou de evaluare (job #276158) | Borderou de evaluare (job #1198463)
Borderou de evaluare (job #1198463)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(i=1;i<=n;i++) scanf("%di",&a[i]),a[i]+=a[i-1];
^
user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pagina.in","r",stdin);
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pagina.out","w",stdout);
^
user.cpp:14:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%di",&a[i]),a[i]+=a[i-1];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 10 | 0 |
2 | Depăşit | 1020kb | Time limit exceeded. | 0 |
3 | 48ms | 1052kb | OK | 10 |
4 | 0ms | 324kb | OK | 10 |
5 | 16ms | 668kb | OK | 10 |
6 | 20ms | 704kb | OK | 10 |
7 | 24ms | 820kb | OK | 10 |
8 | 24ms | 876kb | OK | 10 |
9 | 32ms | 972kb | OK | 10 |
10 | 36ms | 1020kb | OK | 10 |
Punctaj total | 0 |