Pagini recente » Borderou de evaluare (job #2374815) | Borderou de evaluare (job #267753) | Borderou de evaluare (job #2787535) | Borderou de evaluare (job #2768207) | Borderou de evaluare (job #1754241)
Borderou de evaluare (job #1754241)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100005]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp:41:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(s);i++) if (s[i]=='E') nr++;
^
user.cpp:46:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(s);i++) if (s[i]=='E') nr++;
^
user.cpp:34:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spion.in","r",stdin);
^
user.cpp:35:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spion.out","w",stdout);
^
user.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:37:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:38:19: 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 | 432kb | OK | 5 |
2 | 68ms | 456kb | OK | 5 |
3 | Depăşit | 468kb | Time limit exceeded. | 0 |
4 | Depăşit | 480kb | Time limit exceeded. | 0 |
5 | 0ms | 444kb | OK | 5 |
6 | 0ms | 444kb | Incorect | 0 |
7 | 0ms | 440kb | Incorect | 0 |
8 | 0ms | 448kb | Incorect | 0 |
9 | 0ms | 444kb | Incorect | 0 |
10 | 4ms | 448kb | Incorect | 0 |
11 | 68ms | 460kb | Incorect | 0 |
12 | 156ms | 472kb | Incorect | 0 |
13 | 276ms | 484kb | Incorect | 0 |
14 | Depăşit | 436kb | Time limit exceeded. | 0 |
15 | Depăşit | 444kb | Time limit exceeded. | 0 |
16 | Depăşit | 456kb | Time limit exceeded. | 0 |
17 | Depăşit | 468kb | Time limit exceeded. | 0 |
18 | Depăşit | 480kb | Time limit exceeded. | 0 |
19 | Depăşit | 484kb | Time limit exceeded. | 0 |
20 | Depăşit | 480kb | Time limit exceeded. | 0 |
Punctaj total | 15 |