Pagini recente » Borderou de evaluare (job #2555621) | Borderou de evaluare (job #595056) | Borderou de evaluare (job #351961) | Borderou de evaluare (job #2814544) | Borderou de evaluare (job #1720949)
Borderou de evaluare (job #1720949)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:26: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(s-t>9| t+b[k-1]<10){
^
user.cpp:5:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sstabil.in","r",stdin);
^
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sstabil.out","w",stdout);
^
user.cpp:8:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 344kb | OK | 10 |
6 | 12ms | 596kb | OK | 10 |
7 | 32ms | 932kb | OK | 10 |
8 | 52ms | 1568kb | OK | 10 |
9 | 116ms | 2864kb | OK | 10 |
10 | 292ms | 6760kb | OK | 10 |
Punctaj total | 100 |