Pagini recente » Borderou de evaluare (job #1813474) | Borderou de evaluare (job #2480450) | Borderou de evaluare (job #487765) | Borderou de evaluare (job #2499814) | Borderou de evaluare (job #2139412)
Borderou de evaluare (job #2139412)
Raport evaluator
Compilare:
user.cpp: In function ‘int calulareDp(int, int, int, int)’:
user.cpp:102:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:112:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(a[i] + 1);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:112:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(a[i] + 1);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:112:22: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(a[i] + 1);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:105:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bmatrix.in", "r", stdin);
^
user.cpp:106:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bmatrix.out", "w", stdout);
^
user.cpp:110:28: 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:112:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i] + 1);
^
/tmp/ccUqS2I5.o: In function `main':
user.cpp:(.text.startup+0x6e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1044kb | OK | 4 | 4 |
2 | 0ms | 1048kb | OK | 4 | 4 |
3 | 0ms | 1044kb | OK | 4 | 4 |
4 | 0ms | 1048kb | OK | 4 | 4 |
5 | 0ms | 1048kb | OK | 4 | 4 |
6 | 0ms | 1044kb | OK | 4 | 4 |
7 | 0ms | 1052kb | OK | 4 | 4 |
8 | 0ms | 1044kb | OK | 4 | 4 |
9 | 0ms | 1056kb | OK | 4 | 4 |
10 | 0ms | 1048kb | OK | 4 | 4 |
11 | 0ms | 1052kb | OK | 4 | 4 |
12 | 0ms | 1064kb | OK | 4 | 4 |
13 | 0ms | 1048kb | OK | 4 | 4 |
14 | 0ms | 1060kb | OK | 4 | 4 |
15 | 0ms | 1056kb | OK | 4 | 4 |
16 | 0ms | 1052kb | OK | 4 | 40 |
17 | 0ms | 1056kb | OK | 4 |
18 | 0ms | 1064kb | OK | 4 |
19 | 0ms | 1060kb | OK | 4 |
20 | 4ms | 1080kb | OK | 4 |
21 | 0ms | 1076kb | OK | 4 |
22 | 0ms | 1068kb | OK | 4 |
23 | 0ms | 1076kb | OK | 4 |
24 | 4ms | 1080kb | OK | 4 |
25 | 4ms | 1080kb | OK | 4 |
Punctaj total | 100 |