Pagini recente » Borderou de evaluare (job #2941964) | Borderou de evaluare (job #3246246) | Borderou de evaluare (job #2033625) | Borderou de evaluare (job #1670003) | Borderou de evaluare (job #1136754)
Borderou de evaluare (job #1136754)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&t);
^
user.cpp:31:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&n); s=0;
^
user.cpp:33:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
{ scanf("%ld",&v[i]); s+=v[i]; }
^
user.cpp:39:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld",rez);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 232kb | OK | 100 |
Punctaj total | 100 |