Pagini recente » Borderou de evaluare (job #1397884) | Borderou de evaluare (job #431509) | Cod sursa (job #2005232) | Borderou de evaluare (job #2510070) | Borderou de evaluare (job #1146550)
Borderou de evaluare (job #1146550)
Raport evaluator
Compilare:
user.cpp: In function ‘void search(int, int)’:
user.cpp:6:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
if(st==sf){printf("%ld",st);return;}
^
user.cpp: In function ‘int main()’:
user.cpp:32:22: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&n,&k);
^
user.cpp:32:22: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:33:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
for(i=1;i<=n;i++){scanf("%ld",&a[i]);s+=a[i];}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 232kb | OK | 10 |
| 2 | 0ms | 236kb | OK | 10 |
| 3 | 0ms | 232kb | OK | 10 |
| 4 | 0ms | 236kb | OK | 10 |
| 5 | 4ms | 240kb | OK | 10 |
| 6 | 4ms | 260kb | OK | 10 |
| 7 | 4ms | 268kb | OK | 10 |
| 8 | 4ms | 280kb | OK | 10 |
| 9 | 8ms | 280kb | OK | 10 |
| 10 | 8ms | 276kb | OK | 10 |
| Punctaj total | 100 |