Pagini recente » Borderou de evaluare (job #1608452) | Borderou de evaluare (job #485499) | Borderou de evaluare (job #3172604) | Borderou de evaluare (job #1148906) | Borderou de evaluare (job #1602310)
Borderou de evaluare (job #1602310)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:9: warning: unused variable ‘p’ [-Wunused-variable]
int p = 1, u = 0;
^
user.cpp:40:16: warning: unused variable ‘u’ [-Wunused-variable]
int p = 1, u = 0;
^
user.cpp: In function ‘void citire()’:
user.cpp:76:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in", "r", stdin);
^
user.cpp:77:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.out", "w", stdout);
^
user.cpp:79:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:85:50: 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", v+i);
^
user.cpp:87:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &l);
^
user.cpp:90:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK! | 10 |
2 | 0ms | 292kb | OK! | 10 |
3 | 0ms | 300kb | OK! | 10 |
4 | 0ms | 292kb | OK! | 10 |
5 | 24ms | 332kb | OK! | 10 |
6 | 0ms | 332kb | OK! | 10 |
7 | 0ms | 300kb | OK! | 10 |
8 | 0ms | 308kb | OK! | 10 |
9 | 0ms | 308kb | OK! | 10 |
10 | 0ms | 296kb | OK! | 10 |
Punctaj total | 100 |