Pagini recente » Borderou de evaluare (job #2443612) | Borderou de evaluare (job #2101658) | Borderou de evaluare (job #1982784) | Borderou de evaluare (job #1772965) | Borderou de evaluare (job #1604851)
Borderou de evaluare (job #1604851)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:34: warning: unused variable ‘bit’ [-Wunused-variable]
int n, p, i, j, k, cfg, ans, bit, _this, _last;
^
user.cpp:30:39: warning: unused variable ‘_this’ [-Wunused-variable]
int n, p, i, j, k, cfg, ans, bit, _this, _last;
^
user.cpp:30:46: warning: unused variable ‘_last’ [-Wunused-variable]
int n, p, i, j, k, cfg, ans, bit, _this, _last;
^
user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("morcovi.in", "r", stdin);
^
user.cpp:28:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("morcovi.out", "w", stdout);
^
user.cpp:32:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:33:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buff);
^
user.cpp:37:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &p);
^
user.cpp:38:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buff);
^
/tmp/ccaQdSBG.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 400kb | OK | 10 |
2 | 0ms | 792kb | OK | 10 |
3 | 4ms | 1308kb | OK | 10 |
4 | 0ms | 1308kb | OK | 10 |
5 | 0ms | 792kb | OK | 10 |
6 | 36ms | 8284kb | Incorect | 0 |
7 | 4ms | 2360kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 2356kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 356kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 356kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 50 |