Pagini recente » Borderou de evaluare (job #845774) | Borderou de evaluare (job #2902375) | Borderou de evaluare (job #1251636) | Borderou de evaluare (job #193000) | Borderou de evaluare (job #1919502)
Borderou de evaluare (job #1919502)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("crescator3.in","r",stdin);
^
user.cpp:11:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("crescator3.out","w",stdout);
^
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &x); y=x; poz=1; sol=0;
^
user.cpp:17:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if (poz<n) scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 4ms | 268kb | OK | 10 |
5 | 32ms | 264kb | OK | 10 |
6 | 28ms | 264kb | OK | 10 |
7 | 36ms | 264kb | OK | 10 |
8 | 32ms | 260kb | OK | 10 |
9 | 32ms | 268kb | OK | 10 |
10 | 32ms | 264kb | OK | 10 |
Punctaj total | 100 |