Pagini recente » Borderou de evaluare (job #30135) | Borderou de evaluare (job #28663) | Borderou de evaluare (job #667604) | Borderou de evaluare (job #2555) | Borderou de evaluare (job #1920593)
Borderou de evaluare (job #1920593)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:32:22: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%hd%hd",&n,&k);
^
user.cpp:32: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:47:26: warning: unused variable ‘min’ [-Wunused-variable]
{ short ii,i,j,pmin;long min;
^
user.cpp: In function ‘int main()’:
user.cpp:69: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:29: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:30: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:32: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:38: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 | 264kb | OK | 5 |
| 3 | 0ms | 264kb | OK | 5 |
| 4 | 0ms | 268kb | OK | 5 |
| 5 | 0ms | 264kb | OK | 5 |
| 6 | 0ms | 268kb | OK | 5 |
| 7 | 0ms | 288kb | OK | 5 |
| 8 | 0ms | 312kb | OK | 5 |
| 9 | 0ms | 312kb | OK | 5 |
| 10 | 0ms | 312kb | OK | 5 |
| 11 | 0ms | 344kb | OK | 5 |
| 12 | 0ms | 352kb | OK | 5 |
| 13 | 0ms | 388kb | OK | 5 |
| 14 | 0ms | 392kb | OK | 5 |
| 15 | 0ms | 392kb | OK | 5 |
| 16 | 0ms | 396kb | OK | 5 |
| 17 | 0ms | 440kb | OK | 5 |
| 18 | 4ms | 480kb | OK | 5 |
| 19 | 4ms | 608kb | OK | 5 |
| 20 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 95 |