Pagini recente » Borderou de evaluare (job #563268) | Borderou de evaluare (job #3304422) | Borderou de evaluare (job #1028036) | Borderou de evaluare (job #3350076) | Borderou de evaluare (job #1890906)
Borderou de evaluare (job #1890906)
Raport evaluator
Compilare:
user.cpp: In function ‘void answer(int*, int, int)’:
user.cpp:18:47: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lu\n",(it - elements + 1));
^
user.cpp:25:39: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lu\n",(it - elements));
^
user.cpp:28:43: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lu\n",(it - elements + 1));
^
user.cpp: In function ‘int main()’:
user.cpp:37: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:38: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:40:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:44:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &elements[i]);
^
user.cpp:46:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:50:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &question);
^
user.cpp:51:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &number);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 456kb | OK | 10 | 10 |
| 2 | 0ms | 456kb | OK | 10 | 10 |
| 3 | 0ms | 452kb | OK | 10 | 10 |
| 4 | 4ms | 456kb | OK | 10 | 10 |
| 5 | 24ms | 500kb | OK | 10 | 20 |
| 6 | 84ms | 652kb | OK | 10 |
| 7 | 120ms | 848kb | OK | 10 | 40 |
| 8 | 120ms | 852kb | OK | 10 |
| 9 | 124ms | 852kb | OK | 10 |
| 10 | 128ms | 852kb | OK | 10 |
| Punctaj total | 100 |