Pagini recente » Borderou de evaluare (job #2282891) | Borderou de evaluare (job #2023163) | Borderou de evaluare (job #2294000) | Borderou de evaluare (job #511741) | Borderou de evaluare (job #2067587)
Borderou de evaluare (job #2067587)
Raport evaluator
Compilare:
user.cpp: In function ‘unsigned int cateperechi(unsigned int)’:
user.cpp:8:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned int i=1;i<=n;i++){
^
user.cpp:9:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j>0 && v[i]+v[j]>x)
^
user.cpp: In function ‘int cautbin()’:
user.cpp:18:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cateperechi(pas+p2)<=k)
^
user.cpp: In function ‘int main()’:
user.cpp:30:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&n,&k);
^
user.cpp:32:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | Incorect | 0 |
2 | 0ms | 420kb | Incorect | 0 |
3 | 0ms | 428kb | Incorect | 0 |
4 | 4ms | 460kb | Incorect | 0 |
5 | 4ms | 500kb | Incorect | 0 |
6 | 8ms | 556kb | Incorect | 0 |
7 | 12ms | 580kb | Incorect | 0 |
8 | 16ms | 616kb | Incorect | 0 |
9 | 16ms | 616kb | Incorect | 0 |
10 | 16ms | 620kb | Incorect | 0 |
Punctaj total | 0 |