Pagini recente » Borderou de evaluare (job #264633) | Borderou de evaluare (job #2673817) | Borderou de evaluare (job #2436239) | Borderou de evaluare (job #1350617) | Borderou de evaluare (job #2034973)
Borderou de evaluare (job #2034973)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,k,x,n;
^
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("ksecv3.in","r",stdin);
^
user.cpp:10: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:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:17:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x),allsum+=x;
^
user.cpp:26: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:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:36:27: 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 | 272kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 248kb | Incorect | 0 |
5 | 4ms | 272kb | OK | 10 |
6 | 4ms | 272kb | OK | 10 |
7 | 36ms | 272kb | OK | 10 |
8 | 92ms | 276kb | OK | 10 |
9 | 36ms | 272kb | OK | 10 |
10 | 16ms | 264kb | OK | 10 |
Punctaj total | 90 |