Pagini recente » Cod sursa (job #2345814) | Cod sursa (job #543311) | Cod sursa (job #2633485) | Cod sursa (job #1132554) | Borderou de evaluare (job #1596756)
Borderou de evaluare (job #1596756)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:28: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[10005]’ [-Wformat=]
scanf("%d%d%s",&n,&k,&s);
^
user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alibaba.in","r",stdin);
^
user.cpp:17:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alibaba.out","w",stdout);
^
user.cpp:18:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%s",&n,&k,&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 456kb | Incorect | 0 |
| 2 | 0ms | 456kb | Incorect | 0 |
| 3 | 0ms | 460kb | Incorect | 0 |
| 4 | 4ms | 488kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 12ms | 484kb | Incorect | 0 |
| 6 | 16ms | 484kb | Incorect | 0 |
| 7 | 16ms | 488kb | Incorect | 0 |
| 8 | 20ms | 492kb | Incorect | 0 |
| 9 | 24ms | 488kb | Incorect | 0 |
| 10 | 28ms | 488kb | Incorect | 0 |
| Punctaj total | 0 |