Pagini recente » Borderou de evaluare (job #1001566) | Borderou de evaluare (job #1895745) | Borderou de evaluare (job #2335779) | Borderou de evaluare (job #974139) | Borderou de evaluare (job #1871361)
Borderou de evaluare (job #1871361)
Raport evaluator
Compilare:
user.cpp: In function ‘bool solve_gr2(int, int, int, int)’:
user.cpp:28:14: warning: unused variable ‘x1’ [-Wunused-variable]
int delta, x1, x2, rad;
^
user.cpp:28:18: warning: unused variable ‘x2’ [-Wunused-variable]
int delta, x1, x2, rad;
^
user.cpp: In function ‘int main()’:
user.cpp:51:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.in", "r", stdin);
^
user.cpp:52:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.out", "w", stdout);
^
user.cpp:54:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:56:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &x);
^
user.cpp:60:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccxPXe1K.o: In function `main':
user.cpp:(.text.startup+0xe8): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | OK | 10 |
2 | 0ms | 300kb | Gresit! | 6 |
3 | 0ms | 300kb | Gresit! | 6 |
4 | 0ms | 300kb | Gresit! | 6 |
5 | 8ms | 308kb | Gresit! | 6 |
6 | 0ms | 272kb | Killed by signal 8(SIGFPE). | 0 |
7 | 40ms | 316kb | OK | 10 |
8 | 60ms | 312kb | OK | 10 |
9 | 0ms | 312kb | OK | 10 |
10 | 0ms | 308kb | OK | 10 |
Punctaj total | 74 |