Pagini recente » Borderou de evaluare (job #2921956) | Borderou de evaluare (job #388432) | Borderou de evaluare (job #1615641) | Borderou de evaluare (job #1806459) | Borderou de evaluare (job #1912583)
Borderou de evaluare (job #1912583)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:35: 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:38:37: 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:39:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:41:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d", &a[i]);
^
user.cpp:42:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:45:24: 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 caut0(int)’:
user.cpp:6:18: warning: ‘m’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int st=1, dr=n, m;
^
user.cpp: In function ‘int caut1(int)’:
user.cpp:17:18: warning: ‘m’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int st=1, dr=n, m;
^
user.cpp: In function ‘int caut2(int)’:
user.cpp:27:18: warning: ‘m’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int st=1, dr=n, m;
^
user.cpp: In function ‘int main()’:
user.cpp:17:18: warning: ‘m’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int st=1, dr=n, m;
^
user.cpp:27:18: warning: ‘m’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int st=1, dr=n, m;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 428kb | OK | 10 | 10 |
2 | 0ms | 428kb | OK | 10 | 10 |
3 | 0ms | 428kb | OK | 10 | 10 |
4 | 4ms | 436kb | OK | 10 | 10 |
5 | 24ms | 472kb | OK | 10 | 20 |
6 | 84ms | 624kb | OK | 10 |
7 | 120ms | 816kb | OK | 10 | 40 |
8 | 124ms | 824kb | OK | 10 |
9 | 128ms | 824kb | OK | 10 |
10 | 128ms | 816kb | OK | 10 |
Punctaj total | 100 |