Pagini recente » Borderou de evaluare (job #1830135) | Borderou de evaluare (job #556311) | Borderou de evaluare (job #2670429) | Borderou de evaluare (job #949869) | Borderou de evaluare (job #1615288)
Borderou de evaluare (job #1615288)
Raport evaluator
Compilare:
user.cpp: In function ‘int cautare(int, int, int)’:
user.cpp:8:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (p<=u)
^
user.cpp: In function ‘int main()’:
user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calcule.in","r",stdin);
^
user.cpp:17:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calcule.out","w",stdout);
^
user.cpp:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&imp);
^
user.cpp:20:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[1]);
^
user.cpp:25:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 8ms | 288kb | OK | 10 |
3 | 28ms | 304kb | OK | 10 |
4 | 36ms | 308kb | OK | 10 |
5 | 40ms | 328kb | OK | 10 |
6 | 16ms | 344kb | OK | 10 |
7 | 32ms | 380kb | OK | 10 |
8 | 36ms | 416kb | OK | 10 |
9 | 36ms | 452kb | OK | 10 |
10 | 40ms | 480kb | OK | 10 |
Punctaj total | 100 |