Pagini recente » Borderou de evaluare (job #872426) | Borderou de evaluare (job #1093475) | Borderou de evaluare (job #1642821) | Borderou de evaluare (job #1986969) | Borderou de evaluare (job #1920597)
Borderou de evaluare (job #1920597)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:34:22: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%hd%hd",&n,&k);
^
user.cpp:34: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:49:26: warning: unused variable ‘min’ [-Wunused-variable]
{ short ii,i,j,pmin;long min;
^
user.cpp: In function ‘int main()’:
user.cpp:71: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:31: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:32: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:34: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:40: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 | 268kb | OK | 5 |
2 | 0ms | 268kb | OK | 5 |
3 | 0ms | 264kb | OK | 5 |
4 | 0ms | 268kb | OK | 5 |
5 | 0ms | 268kb | OK | 5 |
6 | 0ms | 272kb | OK | 5 |
7 | 0ms | 288kb | OK | 5 |
8 | 0ms | 308kb | OK | 5 |
9 | 0ms | 304kb | OK | 5 |
10 | 0ms | 304kb | OK | 5 |
11 | 0ms | 336kb | OK | 5 |
12 | 0ms | 336kb | OK | 5 |
13 | 0ms | 376kb | OK | 5 |
14 | 0ms | 380kb | OK | 5 |
15 | 0ms | 380kb | OK | 5 |
16 | 0ms | 380kb | OK | 5 |
17 | 0ms | 420kb | OK | 5 |
18 | 4ms | 464kb | OK | 5 |
19 | 4ms | 576kb | OK | 5 |
20 | 8ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 95 |