Pagini recente » Borderou de evaluare (job #1341666) | Borderou de evaluare (job #2838895) | Borderou de evaluare (job #1177597) | Borderou de evaluare (job #3250821) | Borderou de evaluare (job #1765751)
Borderou de evaluare (job #1765751)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:31: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:32: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:33:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &lx);
^
user.cpp:35:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &x[i]);
^
user.cpp:37:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &ly);
^
user.cpp:39:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &y[i]);
^
user.cpp:41: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:129: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/ccBxq8xe.o: In function `read()':
user.cpp:(.text+0x1ae): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1536ms | 31752kb | OK | 10 |
2 | 1732ms | 31764kb | OK | 10 |
3 | 1800ms | 31764kb | OK | 10 |
4 | 1832ms | 31764kb | OK | 10 |
5 | 1872ms | 31764kb | OK | 10 |
6 | 1940ms | 31760kb | OK | 10 |
7 | 2336ms | 31764kb | OK | 10 |
8 | Depăşit | 31716kb | Time limit exceeded. | 0 |
9 | Depăşit | 31716kb | Time limit exceeded. | 0 |
10 | Depăşit | 31724kb | Time limit exceeded. | 0 |
Punctaj total | 70 |