Borderou de evaluare (job #1795657)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:34:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
for (int i = 1, j = 1; k >= 0 || i <= n && j <= m; k--) {
^
user.cpp: In function ‘int main()’:
user.cpp:48:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seif.in", "r", stdin);
^
user.cpp:49:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seif.out", "w", stdout);
^
user.cpp:51:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:53:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &k);
^
user.cpp:54:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1); n = strlen(a+1);
^
user.cpp:55:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1); m = strlen(b+1);
^
/tmp/ccPVDSsH.o: In function `main':
user.cpp:(.text.startup+0x84): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 600kb | Time limit exceeded. | 0 |
2 | Depăşit | 860kb | Time limit exceeded. | 0 |
3 | Depăşit | 1508kb | Time limit exceeded. | 0 |
4 | 24ms | 2616kb | Incorect | 0 |
5 | 48ms | 3700kb | Incorect | 0 |
6 | Depăşit | 3888kb | Time limit exceeded. | 0 |
7 | Depăşit | 4320kb | Time limit exceeded. | 0 |
8 | Depăşit | 4764kb | Time limit exceeded. | 0 |
9 | Depăşit | 4764kb | Time limit exceeded. | 0 |
10 | Depăşit | 4760kb | Time limit exceeded. | 0 |
Punctaj total | 0 |