Pagini recente » Borderou de evaluare (job #1764585) | Borderou de evaluare (job #2857855) | Borderou de evaluare (job #2171403) | Borderou de evaluare (job #1941573) | Borderou de evaluare (job #1134693)
Borderou de evaluare (job #1134693)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:11:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld",&n,&k);
^
user.cpp:11:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:14:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld",&a,&b);
^
user.cpp:14:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:19:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&r[i]);
^
user.cpp: In function ‘void afisare()’:
user.cpp:64:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld %ld\n",rez,nrez);
^
user.cpp:64:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:67:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld ",i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | OK | 5 |
2 | 0ms | 432kb | OK | 5 |
3 | 0ms | 428kb | OK | 5 |
4 | 0ms | 424kb | OK | 5 |
5 | 0ms | 436kb | OK | 5 |
6 | 4ms | 432kb | OK | 5 |
7 | 4ms | 444kb | OK | 5 |
8 | 4ms | 468kb | OK | 5 |
9 | 12ms | 732kb | OK | 5 |
10 | 12ms | 764kb | OK | 5 |
11 | 12ms | 788kb | OK | 5 |
12 | 16ms | 816kb | OK | 5 |
13 | 20ms | 844kb | OK | 5 |
14 | 16ms | 864kb | OK | 5 |
15 | 20ms | 884kb | OK | 5 |
16 | 24ms | 900kb | OK | 5 |
17 | 20ms | 904kb | OK | 5 |
18 | 20ms | 908kb | OK | 5 |
19 | 24ms | 904kb | OK | 5 |
20 | 24ms | 908kb | OK | 5 |
Punctaj total | 100 |