Pagini recente » Borderou de evaluare (job #1424361) | Borderou de evaluare (job #2936434) | Borderou de evaluare (job #318968) | Borderou de evaluare (job #2894390) | Borderou de evaluare (job #1264663)
Borderou de evaluare (job #1264663)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (int i=0;i<12;++i) al[c[i]]=i;
^
user.cpp:21:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (int j=4,l=1;j>=0;--j,l*=12) k+=al[aux[j]]*l;++s[k];Max = (Max < k ? k:Max);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.in","r",stdin);
^
user.cpp:14:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d\n",&ok,&n);
^
user.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",c);
^
user.cpp:19:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",aux);
^
user.cpp:24:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 780kb | OK | 5 |
2 | 0ms | 1400kb | OK | 5 |
3 | 12ms | 1408kb | OK | 5 |
4 | 20ms | 1408kb | OK | 5 |
5 | 40ms | 1412kb | OK | 5 |
6 | 80ms | 1408kb | OK | 5 |
7 | 0ms | 748kb | Incorect | 0 |
8 | 0ms | 1392kb | Incorect | 0 |
9 | 0ms | 1400kb | Incorect | 0 |
10 | 4ms | 1400kb | Incorect | 0 |
11 | 4ms | 1400kb | Incorect | 0 |
12 | 12ms | 1396kb | Incorect | 0 |
13 | 20ms | 1396kb | Incorect | 0 |
14 | 40ms | 1400kb | Incorect | 0 |
15 | 52ms | 1400kb | Incorect | 0 |
16 | 76ms | 1400kb | Incorect | 0 |
17 | 100ms | 1396kb | Incorect | 0 |
18 | 128ms | 1400kb | Incorect | 0 |
19 | 156ms | 1400kb | Incorect | 0 |
20 | 192ms | 1404kb | Incorect | 0 |
Punctaj total | 30 |