Pagini recente » Borderou de evaluare (job #1633025) | Borderou de evaluare (job #2621107) | Borderou de evaluare (job #3138443) | Borderou de evaluare (job #2816976) | Borderou de evaluare (job #1735482)
Borderou de evaluare (job #1735482)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100005]’ [-Wformat=]
scanf("%s",&s1);
^
user.cpp:15:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<strlen(s1);j++)
^
user.cpp:20:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100005]’ [-Wformat=]
scanf("%s",&s2);
^
user.cpp:21:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<strlen(s2);j++)
^
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joben.in","r",stdin);
^
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("joben.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s1);
^
user.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1216kb | Incorect | 0 |
2 | 0ms | 436kb | Incorect | 0 |
3 | 20ms | 440kb | Incorect | 0 |
4 | Depăşit | 440kb | Time limit exceeded. | 0 |
5 | Depăşit | 448kb | Time limit exceeded. | 0 |
6 | Depăşit | 472kb | Time limit exceeded. | 0 |
7 | Depăşit | 440kb | Time limit exceeded. | 0 |
8 | Depăşit | 1260kb | Time limit exceeded. | 0 |
9 | Depăşit | 464kb | Time limit exceeded. | 0 |
10 | Depăşit | 444kb | Time limit exceeded. | 0 |
Punctaj total | 0 |