Pagini recente » Borderou de evaluare (job #1732927) | Borderou de evaluare (job #886624) | Borderou de evaluare (job #951843) | Borderou de evaluare (job #159966) | Borderou de evaluare (job #2177776)
Borderou de evaluare (job #2177776)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magicnum.in","r",stdin);
^
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magicnum.out","w",stdout);
^
user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp: In function ‘int bs(int)’:
user.cpp:13:8: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;}
^
user.cpp: In function ‘int main()’:
user.cpp:41:8: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cnt=cnt+r-l+1;}
^
user.cpp:39:12: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
l=bs(x-1)+1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 104ms | 1956kb | OK | 10 |
2 | 104ms | 1964kb | OK | 10 |
3 | 104ms | 1988kb | OK | 10 |
4 | 104ms | 2032kb | OK | 10 |
5 | 104ms | 1968kb | OK | 10 |
6 | 104ms | 1956kb | OK | 10 |
7 | 104ms | 2120kb | OK | 10 |
8 | 104ms | 2144kb | OK | 10 |
9 | 104ms | 2144kb | OK | 10 |
10 | 104ms | 2120kb | OK | 10 |
Punctaj total | 100 |