Borderou de evaluare (job #1767243)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:19: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:20: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:21:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &lx);
^
user.cpp:37:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &x[i]);
^
user.cpp:39:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &ly);
^
user.cpp:41:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &y[i]);
^
user.cpp:43: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:162: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/ccUEemxy.o: In function `read()':
user.cpp:(.text+0x206): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 344ms | 16544kb | OK | 10 |
2 | 616ms | 16548kb | OK | 10 |
3 | 616ms | 16552kb | OK | 10 |
4 | 736ms | 16556kb | OK | 10 |
5 | 756ms | 16548kb | OK | 10 |
6 | 788ms | 16556kb | OK | 10 |
7 | 976ms | 16552kb | OK | 10 |
8 | 1908ms | 16548kb | OK | 10 |
9 | Depăşit | 16512kb | Time limit exceeded. | 0 |
10 | 1964ms | 16556kb | OK | 10 |
Punctaj total | 90 |