Pagini recente » Borderou de evaluare (job #2040736) | Borderou de evaluare (job #2331409) | Borderou de evaluare (job #1933464) | Borderou de evaluare (job #1084725) | Borderou de evaluare (job #1754253)
Borderou de evaluare (job #1754253)
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:48: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:47:13: warning: unused variable ‘x’ [-Wunused-variable]
int x=strlen(s);
^
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:17: 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 | 428kb | OK | 5 |
2 | 0ms | 448kb | OK | 5 |
3 | 0ms | 512kb | OK | 5 |
4 | 0ms | 528kb | OK | 5 |
5 | 0ms | 436kb | OK | 5 |
6 | 0ms | 440kb | OK | 5 |
7 | 0ms | 448kb | OK | 5 |
8 | 0ms | 448kb | OK | 5 |
9 | 0ms | 444kb | OK | 5 |
10 | 4ms | 444kb | OK | 5 |
11 | 68ms | 460kb | OK | 5 |
12 | 156ms | 472kb | OK | 5 |
13 | 276ms | 476kb | OK | 5 |
14 | Depăşit | 440kb | 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 | 476kb | Time limit exceeded. | 0 |
19 | Depăşit | 480kb | Time limit exceeded. | 0 |
20 | Depăşit | 484kb | Time limit exceeded. | 0 |
Punctaj total | 65 |