Pagini recente » Borderou de evaluare (job #1457455) | Borderou de evaluare (job #1500876) | Borderou de evaluare (job #225551) | Borderou de evaluare (job #2257531) | Borderou de evaluare (job #1397563)
Borderou de evaluare (job #1397563)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:13:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
{scanf("%d",&a[i]);if(a[i]<0)a[i]=0;}
^
user.cpp:21:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",n);
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma2.in","r",stdin);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma2.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:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d",&a[i]);if(a[i]<0)a[i]=0;}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 252kb | Incorect | 0 |
| 2 | 0ms | 252kb | Incorect | 0 |
| 3 | 0ms | 264kb | Incorect | 0 |
| 4 | 0ms | 276kb | Incorect | 0 |
| 5 | 4ms | 292kb | Incorect | 0 |
| 6 | 4ms | 304kb | Incorect | 0 |
| 7 | 8ms | 340kb | Incorect | 0 |
| 8 | 20ms | 440kb | Incorect | 0 |
| 9 | 36ms | 544kb | Incorect | 0 |
| 10 | 48ms | 636kb | Incorect | 0 |
| Punctaj total | 0 |