Pagini recente » Borderou de evaluare (job #505400) | Cod sursa (job #32110) | Borderou de evaluare (job #503615) | Borderou de evaluare (job #1991308) | Borderou de evaluare (job #1569027)
Borderou de evaluare (job #1569027)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:18:33: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[15]’ [-Wformat=]
scanf("%d%d%s",&p,&n,&cuvord);
^
user.cpp:24:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[7]’ [-Wformat=]
scanf("%s",&cuvant);
^
user.cpp:18:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%s",&p,&n,&cuvord);
^
user.cpp:24:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&cuvant);
^
user.cpp: In function ‘int main()’:
user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.in","r",stdin);
^
user.cpp:39:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 5 |
| 2 | 0ms | 272kb | OK | 5 |
| 3 | 20ms | 848kb | OK | 5 |
| 4 | 56ms | 1440kb | OK | 5 |
| 5 | 128ms | 2612kb | OK | 5 |
| 6 | 68ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 0ms | 256kb | OK | 5 |
| 8 | 0ms | 268kb | OK | 5 |
| 9 | 0ms | 284kb | OK | 5 |
| 10 | 4ms | 316kb | OK | 5 |
| 11 | 8ms | 380kb | OK | 5 |
| 12 | 16ms | 492kb | OK | 5 |
| 13 | 32ms | 724kb | OK | 5 |
| 14 | 64ms | 1196kb | OK | 5 |
| 15 | 84ms | 1428kb | OK | 5 |
| 16 | 128ms | 2020kb | OK | 5 |
| 17 | 172ms | 2600kb | OK | 5 |
| 18 | 212ms | 3188kb | OK | 5 |
| 19 | 228ms | 4012kb | OK | 5 |
| 20 | 72ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 90 |