Pagini recente » Borderou de evaluare (job #1855771) | Borderou de evaluare (job #3148285) | Borderou de evaluare (job #3214961) | Borderou de evaluare (job #1784726) | Borderou de evaluare (job #1766714)
Borderou de evaluare (job #1766714)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:18: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:19: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:20:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &lx);
^
user.cpp:24:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &x[i]);
^
user.cpp:26:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &ly);
^
user.cpp:28:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &y[i]);
^
user.cpp:30: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:149: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/ccSq4frA.o: In function `read()':
user.cpp:(.text+0x186): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 440ms | 32556kb | OK | 10 |
2 | 740ms | 32572kb | OK | 10 |
3 | 812ms | 32576kb | OK | 10 |
4 | 884ms | 32568kb | OK | 10 |
5 | 920ms | 32572kb | OK | 10 |
6 | 976ms | 32576kb | OK | 10 |
7 | 1296ms | 32572kb | OK | 10 |
8 | Depăşit | 32528kb | Time limit exceeded. | 0 |
9 | Depăşit | 32532kb | Time limit exceeded. | 0 |
10 | Depăşit | 32532kb | Time limit exceeded. | 0 |
Punctaj total | 70 |