Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1754250)
| Utilizator | Data | 7 septembrie 2016 19:03:47 | |
|---|---|---|---|
| Problema | Spion | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 55 | ||
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 | 428kb | OK | 5 |
| 2 | 68ms | 444kb | OK | 5 |
| 3 | Depăşit | 464kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 476kb | Time limit exceeded. | 0 |
| 5 | 0ms | 440kb | OK | 5 |
| 6 | 0ms | 436kb | OK | 5 |
| 7 | 0ms | 440kb | OK | 5 |
| 8 | 0ms | 440kb | OK | 5 |
| 9 | 0ms | 440kb | OK | 5 |
| 10 | 4ms | 448kb | OK | 5 |
| 11 | 68ms | 460kb | OK | 5 |
| 12 | 156ms | 464kb | OK | 5 |
| 13 | 276ms | 476kb | OK | 5 |
| 14 | Depăşit | 436kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 440kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 452kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 464kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 468kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 476kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 484kb | Time limit exceeded. | 0 |
| Punctaj total | 55 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
