Pagini recente » Borderou de evaluare (job #1477977) | Borderou de evaluare (job #3121821) | Borderou de evaluare (job #861103) | Borderou de evaluare (job #2755706) | Borderou de evaluare (job #1766717)
Borderou de evaluare (job #1766717)
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:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &x[i]);
^
user.cpp:33:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &ly);
^
user.cpp:35:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &y[i]);
^
user.cpp:37: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:156: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/ccL8owBz.o: In function `read()':
user.cpp:(.text+0x1d6): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 348ms | 16528kb | OK | 10 |
2 | 628ms | 16548kb | OK | 10 |
3 | 624ms | 16548kb | OK | 10 |
4 | 752ms | 16544kb | OK | 10 |
5 | 768ms | 16544kb | OK | 10 |
6 | 800ms | 16544kb | OK | 10 |
7 | 992ms | 16540kb | OK | 10 |
8 | 1936ms | 16544kb | OK | 10 |
9 | Depăşit | 16504kb | Time limit exceeded. | 0 |
10 | 1984ms | 16544kb | OK | 10 |
Punctaj total | 90 |