Pagini recente » Borderou de evaluare (job #2432898) | Borderou de evaluare (job #2949836) | Borderou de evaluare (job #685437) | Borderou de evaluare (job #2805359) | Borderou de evaluare (job #1767280)
Borderou de evaluare (job #1767280)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("afaceri.in", "r", stdin);
^
user.cpp:27:72: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d %d %d %d", &n, &m, &q, &l, &A0, &A1, &A2, &r);
^
user.cpp:28:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &lx);
^
user.cpp:44:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &x[i]);
^
user.cpp:46:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &ly);
^
user.cpp:48:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &y[i]);
^
user.cpp:50:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:169:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("afaceri.out", "w", stdout);
^
/tmp/ccERUzpw.o: In function `read()':
user.cpp:(.text+0x226): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 344ms | 16464kb | OK | 10 |
2 | 620ms | 16472kb | OK | 10 |
3 | 616ms | 16472kb | OK | 10 |
4 | 736ms | 16472kb | OK | 10 |
5 | 760ms | 16476kb | OK | 10 |
6 | 788ms | 16476kb | OK | 10 |
7 | 976ms | 16476kb | OK | 10 |
8 | 1900ms | 16480kb | OK | 10 |
9 | Depăşit | 16472kb | Time limit exceeded. | 0 |
10 | 1956ms | 16480kb | OK | 10 |
Punctaj total | 90 |