Pagini recente » Borderou de evaluare (job #215836) | Borderou de evaluare (job #3240340) | Borderou de evaluare (job #2751290) | Borderou de evaluare (job #3120304) | Borderou de evaluare (job #1687738)
Borderou de evaluare (job #1687738)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:13: warning: statement has no effect [-Wunused-value]
for (poz;a[poz]>sol;poz++);
^
user.cpp:18:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
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("sirag.in","r",stdin);
^
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag.out","w",stdout);
^
user.cpp:21:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&p);
^
user.cpp:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 276kb | OK | 10 | 20 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 | 10 |
4 | 0ms | 380kb | OK | 10 | 10 |
5 | 0ms | 384kb | OK | 10 | 10 |
6 | 24ms | 1428kb | OK | 10 | 10 |
7 | 24ms | 1428kb | OK | 10 | 10 |
8 | 24ms | 1432kb | OK | 10 | 10 |
9 | 4ms | 496kb | OK | 10 | 10 |
10 | 32ms | 1432kb | OK | 10 | 10 |
Punctaj total | 100 |