Pagini recente » Borderou de evaluare (job #2255024) | Borderou de evaluare (job #1882000) | Borderou de evaluare (job #2603684) | Borderou de evaluare (job #2081814) | Borderou de evaluare (job #1562261)
Borderou de evaluare (job #1562261)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[13]’ [-Wformat=]
scanf("%s",&s2);
^
user.cpp:15:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{l[s2[i]]=i; l2[i]=s2[i];}
^
user.cpp:21:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[6]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp:25:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x+=doispe[5-j]*l[s[j]];
^
user.cpp:9: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:10:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&test,&n);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ch);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s2);
^
user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ch);
^
user.cpp:21:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 776kb | OK | 5 |
| 2 | 0ms | 1400kb | OK | 5 |
| 3 | 16ms | 1408kb | OK | 5 |
| 4 | 28ms | 1408kb | OK | 5 |
| 5 | 56ms | 1408kb | OK | 5 |
| 6 | 112ms | 1404kb | OK | 5 |
| 7 | 0ms | 752kb | OK | 5 |
| 8 | 0ms | 1388kb | OK | 5 |
| 9 | 4ms | 1412kb | OK | 5 |
| 10 | 4ms | 1408kb | OK | 5 |
| 11 | 8ms | 1408kb | OK | 5 |
| 12 | 16ms | 1404kb | OK | 5 |
| 13 | 28ms | 1408kb | OK | 5 |
| 14 | 52ms | 1404kb | OK | 5 |
| 15 | 64ms | 1412kb | OK | 5 |
| 16 | 100ms | 1404kb | OK | 5 |
| 17 | 128ms | 1408kb | OK | 5 |
| 18 | 152ms | 1408kb | OK | 5 |
| 19 | 200ms | 1412kb | OK | 5 |
| 20 | 232ms | 1408kb | OK | 5 |
| Punctaj total | 100 |