Pagini recente » Borderou de evaluare (job #1329282) | Borderou de evaluare (job #743113) | Borderou de evaluare (job #347238) | Borderou de evaluare (job #1939886) | Borderou de evaluare (job #1760722)
Borderou de evaluare (job #1760722)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.out","w",stdout);
^
user.cpp:10:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld",&n,&k);
^
user.cpp:13:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:22:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in","r",stdin);
^
user.cpp:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld",&n,&k);
^
user.cpp:28:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:44:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in","r",stdin);
^
user.cpp:45:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld",&n,&k);
^
user.cpp:49:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 0ms | 440kb | OK | 10 |
4 | 0ms | 428kb | OK | 10 |
5 | 4ms | 440kb | OK | 10 |
6 | 4ms | 448kb | OK | 10 |
7 | 60ms | 448kb | OK | 10 |
8 | 100ms | Depăşit | Memory limit exceeded. | 0 |
9 | 48ms | 440kb | OK | 10 |
10 | 16ms | 440kb | OK | 10 |
Punctaj total | 90 |