Pagini recente » Borderou de evaluare (job #2653114) | Borderou de evaluare (job #901566) | Borderou de evaluare (job #2623048) | Borderou de evaluare (job #2706062) | Borderou de evaluare (job #1214065)
Borderou de evaluare (job #1214065)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("permutare2.in","r",stdin);
^
user.cpp:50:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("permutare2.out","w",stdout);
^
user.cpp:51:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &M,&N);
^
user.cpp:53:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:55:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:65:42: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized]
val=val+1LL*(P-L)*a[P]-S[P-1]+S[L-1];
^
user.cpp:64:16: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized]
val=S[R]-S[P]-1LL*(R-P)*a[P];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 340kb | OK | 10 |
5 | 8ms | 392kb | OK | 10 |
6 | 52ms | 1344kb | OK | 10 |
7 | 56ms | 1344kb | OK | 10 |
8 | 64ms | 1340kb | OK | 10 |
9 | 68ms | 1452kb | OK | 10 |
10 | 76ms | 1440kb | OK | 10 |
Punctaj total | 100 |