Pagini recente » Borderou de evaluare (job #2498850) | Borderou de evaluare (job #2893428) | Borderou de evaluare (job #1727526) | Borderou de evaluare (job #1557163) | Borderou de evaluare (job #1334719)
Borderou de evaluare (job #1334719)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:6: warning: unused variable ‘n’ [-Wunused-variable]
int n,p,e,q,mmax=0,nr,d;
^
user.cpp:34:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gfact.in","r",stdin);
^
user.cpp:35:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gfact.out","w",stdout);
^
user.cpp:37:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p,&q);
^
user.cpp: In function ‘long long int bs(int, int)’:
user.cpp:30:9: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^
user.cpp: In function ‘int main()’:
user.cpp:16:16: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int st,dr,med,last;
^
user.cpp:16:16: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 5 |
2 | 0ms | 248kb | OK | 5 |
3 | 0ms | 256kb | OK | 5 |
4 | 0ms | 252kb | OK | 5 |
5 | 0ms | 256kb | OK | 5 |
6 | 0ms | 252kb | OK | 5 |
7 | 0ms | 248kb | OK | 5 |
8 | 0ms | 252kb | OK | 5 |
9 | 0ms | 252kb | OK | 5 |
10 | 0ms | 256kb | OK | 5 |
11 | 0ms | 252kb | OK | 5 |
12 | 0ms | 248kb | OK | 5 |
13 | 0ms | 248kb | OK | 5 |
14 | 0ms | 256kb | OK | 5 |
15 | 0ms | 252kb | OK | 5 |
16 | 0ms | 248kb | OK | 5 |
17 | 0ms | 256kb | OK | 5 |
18 | Depăşit | 220kb | Time limit exceeded. | 0 |
19 | Depăşit | 220kb | Time limit exceeded. | 0 |
20 | 0ms | 248kb | OK | 5 |
Punctaj total | 90 |