Pagini recente » Borderou de evaluare (job #2349417) | Borderou de evaluare (job #1844713) | Borderou de evaluare (job #671468) | Borderou de evaluare (job #1797182) | Borderou de evaluare (job #1562263)
Borderou de evaluare (job #1562263)
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 | 772kb | OK | 5 |
| 2 | 0ms | 1396kb | OK | 5 |
| 3 | 16ms | 1404kb | OK | 5 |
| 4 | 28ms | 1408kb | OK | 5 |
| 5 | 60ms | 1412kb | OK | 5 |
| 6 | 112ms | 1408kb | OK | 5 |
| 7 | 0ms | 752kb | OK | 5 |
| 8 | 0ms | 1392kb | OK | 5 |
| 9 | 4ms | 1404kb | OK | 5 |
| 10 | 4ms | 1408kb | OK | 5 |
| 11 | 8ms | 1404kb | OK | 5 |
| 12 | 16ms | 1408kb | OK | 5 |
| 13 | 28ms | 1404kb | OK | 5 |
| 14 | 52ms | 1404kb | OK | 5 |
| 15 | 64ms | 1408kb | OK | 5 |
| 16 | 96ms | 1408kb | OK | 5 |
| 17 | 128ms | 1408kb | OK | 5 |
| 18 | 152ms | 1404kb | OK | 5 |
| 19 | 192ms | 1412kb | OK | 5 |
| 20 | 240ms | 1404kb | OK | 5 |
| Punctaj total | 100 |