Pagini recente » Borderou de evaluare (job #109694) | Borderou de evaluare (job #1067151) | Borderou de evaluare (job #1481216) | Borderou de evaluare (job #2324187) | Borderou de evaluare (job #1384554)
Borderou de evaluare (job #1384554)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:37: warning: unused variable ‘incep’ [-Wunused-variable]
int maxx=0 ,maxxp=0 , i ,j ,n ,incep ,cont ,pr ,numar ,bun;
^
user.cpp:10:44: warning: unused variable ‘cont’ [-Wunused-variable]
int maxx=0 ,maxxp=0 , i ,j ,n ,incep ,cont ,pr ,numar ,bun;
^
user.cpp:10:50: warning: unused variable ‘pr’ [-Wunused-variable]
int maxx=0 ,maxxp=0 , i ,j ,n ,incep ,cont ,pr ,numar ,bun;
^
user.cpp:11:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin ,"%d" ,&n);
^
user.cpp:14:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin ,"%d" ,&v[i]);
^
user.cpp:48:51: warning: ‘bun’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(best[i]==maxxp) bun+=contor[i]%9901;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 260kb | OK | 10 |
5 | 0ms | 256kb | OK | 10 |
6 | 0ms | 256kb | OK | 10 |
7 | 0ms | 260kb | OK | 10 |
8 | 0ms | 264kb | OK | 10 |
9 | 4ms | 264kb | OK | 10 |
10 | 0ms | 260kb | OK | 10 |
Punctaj total | 100 |