Pagini recente » Borderou de evaluare (job #1670256) | Borderou de evaluare (job #1893572) | Borderou de evaluare (job #2344247) | Borderou de evaluare (job #2082899) | Borderou de evaluare (job #1507748)
Borderou de evaluare (job #1507748)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1010]’ [-Wformat=]
scanf("%s",&sobolani[i]);
^
user.cpp:29:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sobo.in","r",stdin);
^
user.cpp:30:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sobo.out","w",stdout);
^
user.cpp:32:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&l);
^
user.cpp:34:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&sobolani[i]);
^
user.cpp:36:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cost[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | Cool! | 10 |
| 2 | 0ms | 280kb | Cool! | 10 |
| 3 | 0ms | 288kb | Cool! | 10 |
| 4 | 16ms | 292kb | Cool! | 10 |
| 5 | 0ms | 308kb | Cool! | 10 |
| 6 | 0ms | 328kb | Cool! | 10 |
| 7 | 0ms | 348kb | Cool! | 10 |
| 8 | 0ms | 360kb | Cool! | 10 |
| 9 | 4ms | 416kb | Cool! | 10 |
| 10 | 0ms | 396kb | Cool! | 10 |
| Punctaj total | 100 |