Borderou de evaluare (job #1185764)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1005]’ [-Wformat=]
scanf("%s",&sobo);
^
user.cpp:8: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:9: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:10: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:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&sobo);
^
user.cpp:21:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&c[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Cool! | 10 |
2 | 0ms | 264kb | Cool! | 10 |
3 | 0ms | 272kb | Cool! | 10 |
4 | 4ms | 280kb | Cool! | 10 |
5 | 8ms | 284kb | Cool! | 10 |
6 | 44ms | 300kb | Cool! | 10 |
7 | 84ms | 336kb | Cool! | 10 |
8 | 132ms | 332kb | Cool! | 10 |
9 | 260ms | 404kb | Cool! | 10 |
10 | 264ms | 400kb | Cool! | 10 |
Punctaj total | 100 |