Pagini recente » Borderou de evaluare (job #1230662) | Borderou de evaluare (job #438655) | Borderou de evaluare (job #2898870) | Borderou de evaluare (job #2773460) | Borderou de evaluare (job #1659311)
Borderou de evaluare (job #1659311)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:14: warning: unused variable ‘ind’ [-Wunused-variable]
int ok,i,n,k,ind=0,j,x;
^
user.cpp:4: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:5: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:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:26:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{ scanf("%d",&x); temp += x; }
^
user.cpp:44:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:45:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:50:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{ scanf("%d",&x); temp += x; }
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 4ms | 264kb | OK | 10 |
6 | 4ms | 268kb | OK | 10 |
7 | 56ms | 264kb | OK | 10 |
8 | 132ms | 264kb | OK | 10 |
9 | 52ms | 268kb | OK | 10 |
10 | 16ms | 244kb | OK | 10 |
Punctaj total | 100 |