Pagini recente » Borderou de evaluare (job #1772962) | Borderou de evaluare (job #1415346) | Borderou de evaluare (job #3125539) | Borderou de evaluare (job #938541) | Borderou de evaluare (job #1475343)
Borderou de evaluare (job #1475343)
Raport evaluator
Compilare:
user.cpp: In function ‘void newind(int, int, int)’:
user.cpp:20:35: warning: unused variable ‘val’ [-Wunused-variable]
int mid = (left + right) / 2, val;
^
user.cpp: In function ‘void solve()’:
user.cpp:105:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[9]’ [-Wformat=]
scanf("%s %s", &s, &t);
^
user.cpp:105:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[9]’ [-Wformat=]
user.cpp: In function ‘void read()’:
user.cpp:87:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("eliminare.in", "r", stdin);
^
user.cpp:88:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:91:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘void solve()’:
user.cpp:105:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %s", &s, &t);
^
user.cpp: In function ‘void write()’:
user.cpp:134:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("eliminare.out", "w", stdout);
^
/tmp/ccPI9Xqx.o: In function `read()':
user.cpp:(.text+0x2d8): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1212ms | 664kb | OK | 10 |
2 | 2248ms | 1092kb | OK | 10 |
3 | Depăşit | 6468kb | Time limit exceeded. | 0 |
4 | Depăşit | 6860kb | Time limit exceeded. | 0 |
5 | Depăşit | 12880kb | Time limit exceeded. | 0 |
6 | Depăşit | 13272kb | Time limit exceeded. | 0 |
7 | Depăşit | 13464kb | Time limit exceeded. | 0 |
8 | Depăşit | 26488kb | Time limit exceeded. | 0 |
9 | Depăşit | 26576kb | Time limit exceeded. | 0 |
10 | Depăşit | 26680kb | Time limit exceeded. | 0 |
Punctaj total | 20 |