Pagini recente » Borderou de evaluare (job #2496312) | Borderou de evaluare (job #171738) | Borderou de evaluare (job #2042517) | Cod sursa (job #2829103) | Borderou de evaluare (job #1142515)
Borderou de evaluare (job #1142515)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:15:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld %ld",&n,&l,&u);
^
user.cpp:15:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:15:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:18:24: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘unsigned int*’ [-Wformat=]
scanf("%lld",&x);
^
user.cpp: In function ‘int main()’:
user.cpp:59:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld",calculare(u)-calculare(l-1));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 12ms | 8044kb | OK | 10 |
| 2 | 16ms | 8080kb | OK | 10 |
| 3 | 20ms | 8200kb | OK | 10 |
| 4 | 52ms | 8856kb | OK | 10 |
| 5 | 64ms | 8636kb | Incorect | 0 |
| 6 | 192ms | 11220kb | OK | 10 |
| 7 | 444ms | 12976kb | Incorect | 0 |
| 8 | 524ms | 13072kb | Incorect | 0 |
| 9 | 776ms | 19636kb | Incorect | 0 |
| 10 | 828ms | 26052kb | Incorect | 0 |
| Punctaj total | 50 |