Pagini recente » Borderou de evaluare (job #1642215) | Borderou de evaluare (job #1886635) | Borderou de evaluare (job #2100932) | Borderou de evaluare (job #3154864) | Borderou de evaluare (job #2384710)
Borderou de evaluare (job #2384710)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[20]' [-Wformat=]
scanf("%s",&cha);
^
main.cpp:20:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10]' [-Wformat=]
scanf("%s",&ch);
^
main.cpp:8: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);
^
main.cpp:9: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);
^
main.cpp:10:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p,&n);
^
main.cpp:11:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&cha);
^
main.cpp:20:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&ch);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 22ms | 262kb | OK | 5 |
| 4 | 43ms | 524kb | OK | 5 |
| 5 | 85ms | 917kb | OK | 5 |
| 6 | 163ms | 1703kb | OK | 5 |
| 7 | 2ms | 131kb | OK | 5 |
| 8 | 3ms | 131kb | OK | 5 |
| 9 | 4ms | 131kb | OK | 5 |
| 10 | 6ms | 131kb | OK | 5 |
| 11 | 10ms | 262kb | OK | 5 |
| 12 | 18ms | 262kb | OK | 5 |
| 13 | 34ms | 524kb | OK | 5 |
| 14 | 68ms | 917kb | OK | 5 |
| 15 | 79ms | 1179kb | OK | 5 |
| 16 | 124ms | 1572kb | OK | 5 |
| 17 | 171ms | 2097kb | OK | 5 |
| 18 | 206ms | 2621kb | OK | 5 |
| 19 | 239ms | 3276kb | OK | 5 |
| 20 | 303ms | 4063kb | Time limit exceeded | 0 |
| Punctaj total | 95 |