Pagini recente » Borderou de evaluare (job #773875) | Borderou de evaluare (job #2915982) | Borderou de evaluare (job #2044862) | Borderou de evaluare (job #429202) | Borderou de evaluare (job #1227868)
Borderou de evaluare (job #1227868)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp:33:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",b[l2][1]*-1);
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joculet.in","r",stdin);
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joculet.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:26: 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 | 272kb | Incorect | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 272kb | OK | 10 |
4 | 4ms | 280kb | Incorect | 0 |
5 | 8ms | 296kb | OK | 10 |
6 | 8ms | 304kb | Incorect | 0 |
7 | 40ms | 320kb | OK | 10 |
8 | 24ms | 320kb | Incorect | 0 |
9 | 48ms | 320kb | Incorect | 0 |
10 | 48ms | 316kb | OK | 10 |
Punctaj total | 40 |