Pagini recente » Borderou de evaluare (job #1547903) | Borderou de evaluare (job #1912501) | Borderou de evaluare (job #319852) | Borderou de evaluare (job #273418) | Borderou de evaluare (job #2647898)
Borderou de evaluare (job #2647898)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:47:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<strlen(z);i++)
~^~~~~~~~~~
main.cpp:48:15: warning: array subscript has type 'char' [-Wchar-subscripts]
v[z[i]]=i;
^
main.cpp:55:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<strlen(s);j++){
~^~~~~~~~~~
main.cpp:56:26: warning: array subscript has type 'char' [-Wchar-subscripts]
x=x*13+v[s[j]];
^
main.cpp:41: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);
^
main.cpp:42: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);
^
main.cpp:44:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&cer,&n);
^
main.cpp:45:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",z);
^
main.cpp:52:22: 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 | 2ms | 131kb | OK | 5 |
2 | 3ms | 131kb | Incorect | 0 |
3 | 26ms | 393kb | Incorect | 0 |
4 | 52ms | 524kb | Incorect | 0 |
5 | 96ms | 917kb | Incorect | 0 |
6 | 170ms | 1703kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 3ms | 131kb | Incorect | 0 |
9 | 4ms | 131kb | Incorect | 0 |
10 | 6ms | 131kb | Incorect | 0 |
11 | 10ms | 262kb | Incorect | 0 |
12 | 18ms | 393kb | Incorect | 0 |
13 | 27ms | 524kb | Incorect | 0 |
14 | 52ms | 917kb | Incorect | 0 |
15 | 81ms | 1179kb | Incorect | 0 |
16 | 121ms | 1572kb | Incorect | 0 |
17 | 152ms | 2228kb | Incorect | 0 |
18 | 203ms | 2621kb | Incorect | 0 |
19 | 242ms | 3407kb | Incorect | 0 |
20 | 298ms | 4063kb | Incorect | 0 |
Punctaj total | 5 |