Pagini recente » Borderou de evaluare (job #1841409) | Borderou de evaluare (job #582641) | Borderou de evaluare (job #1530407) | Borderou de evaluare (job #977444) | Borderou de evaluare (job #1787376)
Borderou de evaluare (job #1787376)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:14: warning: unused variable ‘s’ [-Wunused-variable]
int n,ic,sf,s,max;
^
user.cpp:6:31: 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:7:33: 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:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:21:31: warning: ‘sf’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(max==v[i] && i==sf+1)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 10 |
2 | 0ms | 264kb | OK | 10 | 10 |
3 | 0ms | 272kb | OK | 10 | 10 |
4 | 0ms | 304kb | OK | 10 | 10 |
5 | 24ms | 656kb | OK | 10 | 30 |
6 | 256ms | 4172kb | OK | 10 |
7 | 256ms | 4168kb | OK | 10 |
8 | 268ms | 4172kb | OK | 10 | 10 |
9 | 264ms | 4168kb | OK | 10 | 10 |
10 | 252ms | 4168kb | OK | 10 | 10 |
Punctaj total | 100 |