Pagini recente » Borderou de evaluare (job #2130543) | Borderou de evaluare (job #1350135) | Borderou de evaluare (job #3168927) | Borderou de evaluare (job #1434400) | Borderou de evaluare (job #1330323)
Borderou de evaluare (job #1330323)
Raport evaluator
Compilare:
user.cpp:9:18: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
int p,n,mx=0,mn=1<<31-1,z,a[248835],x;
^
user.cpp: In function ‘char* cuv(int)’:
user.cpp:18:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
CC[i]=o[n%12];
^
user.cpp: In function ‘int main()’:
user.cpp:39:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[13]’ [-Wformat=]
fscanf(f,"%d %s",&n,&o);
^
user.cpp:44:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[6]’ [-Wformat=]
fscanf(f,"%s",&s);
^
user.cpp:35:13: warning: unused variable ‘k’ [-Wunused-variable]
int i,j,k;
^
user.cpp:38:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&p);
^
user.cpp:39:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %s",&n,&o);
^
user.cpp:44:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 772kb | OK | 5 |
| 2 | 0ms | 1388kb | OK | 5 |
| 3 | 8ms | 1400kb | OK | 5 |
| 4 | 20ms | 1400kb | OK | 5 |
| 5 | 40ms | 1404kb | OK | 5 |
| 6 | 80ms | 1396kb | OK | 5 |
| 7 | 0ms | 744kb | Incorect | 0 |
| 8 | 0ms | 1380kb | Incorect | 0 |
| 9 | 0ms | 1392kb | Incorect | 0 |
| 10 | 4ms | 1392kb | Incorect | 0 |
| 11 | 4ms | 1396kb | Incorect | 0 |
| 12 | 8ms | 1396kb | Incorect | 0 |
| 13 | 16ms | 1392kb | Incorect | 0 |
| 14 | 36ms | 1396kb | Incorect | 0 |
| 15 | 40ms | 1392kb | Incorect | 0 |
| 16 | 64ms | 1396kb | Incorect | 0 |
| 17 | 88ms | 1396kb | Incorect | 0 |
| 18 | 104ms | 1392kb | Incorect | 0 |
| 19 | 132ms | 1396kb | Incorect | 0 |
| 20 | 168ms | 1392kb | Incorect | 0 |
| Punctaj total | 30 |