Pagini recente » Borderou de evaluare (job #376939) | Borderou de evaluare (job #630917) | Borderou de evaluare (job #1382789) | Borderou de evaluare (job #2091473) | Borderou de evaluare (job #2357302)
Borderou de evaluare (job #2357302)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:25: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[1005]' [-Wformat=]
scanf("%d\n%s",&n,&s);
^
main.cpp:16:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1 ; i <= strlen(s) ; i++)
~~^~~~~~~~~~~~
main.cpp:12:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("inrudit.in","r",stdin);
^
main.cpp:13:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("inrudit.out","w",stdout);
^
main.cpp:15:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%s",&n,&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 2ms | 131kb | Incorect | 0 |
| 5 | 2ms | 131kb | Incorect | 0 |
| 6 | 2ms | 131kb | Incorect | 0 |
| 7 | 2ms | 131kb | Incorect | 0 |
| 8 | 2ms | 131kb | Incorect | 0 |
| 9 | 2ms | 131kb | Incorect | 0 |
| 10 | 2ms | 131kb | Incorect | 0 |
| 11 | 2ms | 131kb | Incorect | 0 |
| 12 | 2ms | 131kb | Incorect | 0 |
| 13 | 2ms | 131kb | Incorect | 0 |
| 14 | 2ms | 131kb | Incorect | 0 |
| 15 | 2ms | 131kb | Incorect | 0 |
| 16 | 2ms | 131kb | Incorect | 0 |
| 17 | 3ms | 131kb | Incorect | 0 |
| 18 | 2ms | 131kb | Incorect | 0 |
| 19 | 3ms | 131kb | Incorect | 0 |
| 20 | 2ms | 131kb | Incorect | 0 |
| Punctaj total | 0 |