Pagini recente » Borderou de evaluare (job #2702961) | Borderou de evaluare (job #355141) | Borderou de evaluare (job #369711) | Borderou de evaluare (job #964568) | Borderou de evaluare (job #1311567)
Borderou de evaluare (job #1311567)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.in","r",stdin);
^
user.cpp:16:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.out","w",stdout);
^
user.cpp:20:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp:32:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
user.cpp:29:21: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int x,y,diff,sh,k,t;
^
user.cpp:34:9: warning: ‘l’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (l != lg[y - x + 1]) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 672ms | 396kb | OK | 10 |
4 | 632ms | 268kb | OK | 10 |
5 | 96ms | 880kb | OK | 10 |
6 | 60ms | 880kb | OK | 10 |
7 | 744ms | 876kb | OK | 10 |
8 | 748ms | 880kb | OK | 10 |
9 | 736ms | 884kb | OK | 10 |
10 | 744ms | 880kb | OK | 10 |
Punctaj total | 100 |