Pagini recente » Borderou de evaluare (job #2092211) | Borderou de evaluare (job #1746219) | Borderou de evaluare (job #1437255) | Borderou de evaluare (job #1884812) | Borderou de evaluare (job #1552600)
Borderou de evaluare (job #1552600)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1005]’ [-Wformat=]
scanf("%s\n%d\n",&t,&n);
^
user.cpp:35:24: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1005]’ [-Wformat=]
scanf("%s\n",&s);
^
user.cpp:39:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
p=f[s[j]][p+1];
^
user.cpp:15:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaj2.in","r",stdin);
^
user.cpp:16:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaj2.out","w",stdout);
^
user.cpp:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n%d\n",&t,&n);
^
user.cpp:35:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 772kb | OK | 10 |
2 | 0ms | 768kb | OK | 10 |
3 | 0ms | 772kb | OK | 10 |
4 | 4ms | 776kb | OK | 10 |
5 | 20ms | 776kb | OK | 10 |
6 | 16ms | 776kb | OK | 10 |
7 | 24ms | 776kb | OK | 10 |
8 | 28ms | 772kb | OK | 10 |
9 | 44ms | 776kb | OK | 10 |
10 | 48ms | 776kb | OK | 10 |
Punctaj total | 100 |