Pagini recente » Borderou de evaluare (job #1753917) | Borderou de evaluare (job #357050) | Borderou de evaluare (job #1223296) | Borderou de evaluare (job #874837) | Borderou de evaluare (job #1231947)
Borderou de evaluare (job #1231947)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:39:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp: In function ‘int main()’:
user.cpp:18:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("checkin.in","r",stdin);
^
user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("checkin.out","w",stdout);
^
user.cpp: In function ‘void citire()’:
user.cpp:39:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:42:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%ld%ld",&a[i],&b[i]);
^
user.cpp:44:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&K,&P);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 0ms | 448kb | OK | 10 |
4 | 0ms | 448kb | OK | 10 |
5 | 0ms | 448kb | OK | 10 |
6 | 4ms | 452kb | OK | 10 |
7 | 0ms | 452kb | OK | 10 |
8 | 0ms | 448kb | OK | 10 |
9 | 28ms | 448kb | OK | 10 |
10 | 12ms | 444kb | OK | 10 |
Punctaj total | 100 |