Pagini recente » Borderou de evaluare (job #1776184) | Borderou de evaluare (job #624361) | Borderou de evaluare (job #1338392) | Borderou de evaluare (job #661034) | Borderou de evaluare (job #1288562)
Borderou de evaluare (job #1288562)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[50005]’ [-Wformat=]
scanf("%s\n%s\n",&ch1,&ch2);
^
user.cpp:53:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[50005]’ [-Wformat=]
user.cpp:51:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.in" ,"r" ,stdin);
^
user.cpp:52:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.out","w" ,stdout);
^
user.cpp:53:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n%s\n",&ch1,&ch2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 452kb | Incorect | 0 |
| 2 | 0ms | 444kb | OK | 10 |
| 3 | 0ms | 484kb | Incorect | 0 |
| 4 | 0ms | 572kb | Incorect | 0 |
| 5 | 8ms | 792kb | Incorect | 0 |
| 6 | 12ms | 1044kb | Incorect | 0 |
| 7 | 12ms | 1044kb | Incorect | 0 |
| 8 | 12ms | 1044kb | Incorect | 0 |
| 9 | 12ms | 1044kb | Incorect | 0 |
| 10 | 12ms | 1044kb | Incorect | 0 |
| Punctaj total | 10 |