Pagini recente » Diferente pentru problema/design intre reviziile 4 si 18 | Profil anna5793 | Borderou de evaluare (job #3203322) | Diferente pentru utilizator/buty intre reviziile 5 si 6 | Borderou de evaluare (job #1330328)
Borderou de evaluare (job #1330328)
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[k%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 | 1392kb | OK | 5 |
3 | 12ms | 1400kb | OK | 5 |
4 | 20ms | 1404kb | OK | 5 |
5 | 40ms | 1396kb | OK | 5 |
6 | 76ms | 1404kb | OK | 5 |
7 | 0ms | 748kb | OK | 5 |
8 | 0ms | 1372kb | OK | 5 |
9 | 0ms | 1396kb | OK | 5 |
10 | 4ms | 1392kb | OK | 5 |
11 | 4ms | 1388kb | OK | 5 |
12 | 8ms | 1392kb | OK | 5 |
13 | 20ms | 1396kb | OK | 5 |
14 | 36ms | 1392kb | OK | 5 |
15 | 48ms | 1396kb | OK | 5 |
16 | 64ms | 1388kb | OK | 5 |
17 | 84ms | 1388kb | OK | 5 |
18 | 108ms | 1392kb | OK | 5 |
19 | 132ms | 1396kb | OK | 5 |
20 | 164ms | 1396kb | OK | 5 |
Punctaj total | 100 |