Pagini recente » Borderou de evaluare (job #492121) | Borderou de evaluare (job #123067) | Borderou de evaluare (job #299060) | Borderou de evaluare (job #928494) | Borderou de evaluare (job #2025249)
Borderou de evaluare (job #2025249)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sushi.in","r",stdin);
^
user.cpp:6:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sushi.out","w",stdout);
^
user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:11:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:16:23: warning: ‘ind2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else if(ma==x && ind2==(i-1)) ind2=i ;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 10 |
2 | 0ms | 264kb | OK | 10 | 10 |
3 | 0ms | 268kb | OK | 10 | 10 |
4 | 0ms | 264kb | OK | 10 | 10 |
5 | 24ms | 260kb | OK | 10 | 30 |
6 | 248ms | 268kb | OK | 10 |
7 | 248ms | 260kb | OK | 10 |
8 | 248ms | 268kb | OK | 10 | 10 |
9 | 240ms | 264kb | OK | 10 | 10 |
10 | 244ms | 260kb | OK | 10 | 10 |
Punctaj total | 100 |