Pagini recente » Borderou de evaluare (job #1931688) | Borderou de evaluare (job #1613483) | Borderou de evaluare (job #890672) | Borderou de evaluare (job #3123499) | Borderou de evaluare (job #1920596)
Borderou de evaluare (job #1920596)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:33:22: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%hd%hd",&n,&k);
^
user.cpp:33:22: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp: In function ‘void desfrunzire()’:
user.cpp:48:26: warning: unused variable ‘min’ [-Wunused-variable]
{ short ii,i,j,pmin;long min;
^
user.cpp: In function ‘int main()’:
user.cpp:70:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",s);
^
user.cpp: In function ‘void citire()’:
user.cpp:30:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.in","r",stdin);
^
user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.out","w",stdout);
^
user.cpp:33:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd",&n,&k);
^
user.cpp:39:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 5 |
2 | 0ms | 268kb | OK | 5 |
3 | 0ms | 268kb | OK | 5 |
4 | 0ms | 264kb | OK | 5 |
5 | 0ms | 268kb | OK | 5 |
6 | 0ms | 260kb | OK | 5 |
7 | 0ms | 292kb | OK | 5 |
8 | 0ms | 312kb | OK | 5 |
9 | 0ms | 308kb | OK | 5 |
10 | 0ms | 308kb | OK | 5 |
11 | 0ms | 340kb | OK | 5 |
12 | 0ms | 348kb | OK | 5 |
13 | 0ms | 388kb | OK | 5 |
14 | 0ms | 388kb | OK | 5 |
15 | 0ms | 392kb | OK | 5 |
16 | 0ms | 392kb | OK | 5 |
17 | 0ms | 424kb | OK | 5 |
18 | 4ms | 476kb | OK | 5 |
19 | 4ms | 592kb | OK | 5 |
20 | 8ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 95 |