Borderou de evaluare (job #1675843)
Raport evaluator
Compilare:
user.cpp: In function ‘int gint()’:
user.cpp:13:9: warning: variable ‘smn’ set but not used [-Wunused-but-set-variable]
int smn = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:32:33: 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:33:35: 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:37:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:42:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:45:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:50:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccn201DQ.o: In function `main':
user.cpp:(.text.startup+0xeb): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 10 |
2 | 0ms | 464kb | OK | 10 |
3 | 0ms | 464kb | OK | 10 |
4 | 0ms | 460kb | OK | 10 |
5 | 8ms | 520kb | OK | 10 |
6 | 0ms | 416kb | Killed by signal 8(SIGFPE). | 0 |
7 | 40ms | 524kb | OK | 10 |
8 | 64ms | 516kb | OK | 10 |
9 | 0ms | 476kb | OK | 10 |
10 | 0ms | 484kb | OK | 10 |
Punctaj total | 90 |