Pagini recente » Borderou de evaluare (job #2802178) | Borderou de evaluare (job #2074911)
Borderou de evaluare (job #2074911)
Raport evaluator
Compilare:
user.cpp: In function ‘int cautbin0(int, int)’:
user.cpp:9:16: warning: unused variable ‘mij’ [-Wunused-variable]
int poz=0, mij, st=1, dr=n;
^
user.cpp:9:21: warning: unused variable ‘st’ [-Wunused-variable]
int poz=0, mij, st=1, dr=n;
^
user.cpp:9:27: warning: unused variable ‘dr’ [-Wunused-variable]
int poz=0, mij, st=1, dr=n;
^
user.cpp: In function ‘int cautbin1(int, int)’:
user.cpp:29:16: warning: unused variable ‘mij’ [-Wunused-variable]
int poz=0, mij, st=1, dr=n;
^
user.cpp:29:21: warning: unused variable ‘st’ [-Wunused-variable]
int poz=0, mij, st=1, dr=n;
^
user.cpp:29:27: warning: unused variable ‘dr’ [-Wunused-variable]
int poz=0, mij, st=1, dr=n;
^
user.cpp: In function ‘int cautbin2(int, int)’:
user.cpp:51:16: warning: unused variable ‘mij’ [-Wunused-variable]
int poz=0, mij, st=1, dr=n;
^
user.cpp:51:21: warning: unused variable ‘st’ [-Wunused-variable]
int poz=0, mij, st=1, dr=n;
^
user.cpp:51:27: warning: unused variable ‘dr’ [-Wunused-variable]
int poz=0, mij, st=1, dr=n;
^
user.cpp: In function ‘int main()’:
user.cpp:70:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in", "r", stdin);
^
user.cpp:71:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out", "w", stdout);
^
user.cpp:72:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:74:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:75:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:79:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&cer, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | OK | 10 | 10 |
2 | 0ms | 272kb | OK | 10 | 10 |
3 | 0ms | 264kb | OK | 10 | 10 |
4 | 4ms | 272kb | OK | 10 | 10 |
5 | 24ms | 312kb | OK | 10 | 20 |
6 | 80ms | 468kb | OK | 10 |
7 | 124ms | 656kb | OK | 10 | 40 |
8 | 124ms | 656kb | OK | 10 |
9 | 128ms | 660kb | OK | 10 |
10 | 128ms | 656kb | OK | 10 |
Punctaj total | 100 |