Pagini recente » Borderou de evaluare (job #705936) | Borderou de evaluare (job #1874329) | Borderou de evaluare (job #104524) | Borderou de evaluare (job #166350) | Borderou de evaluare (job #1595008)
Borderou de evaluare (job #1595008)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:9: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
int n, i, lmax, pred, nr, sp, pp, m, r, nw, i1;
^
user.cpp:26:35: warning: unused variable ‘pp’ [-Wunused-variable]
int n, i, lmax, pred, nr, sp, pp, m, r, nw, i1;
^
user.cpp:26:39: warning: unused variable ‘m’ [-Wunused-variable]
int n, i, lmax, pred, nr, sp, pp, m, r, nw, i1;
^
user.cpp:27:10: warning: unused variable ‘c’ [-Wunused-variable]
char c;
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text4.in", "r", stdin);
^
user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text4.out", "w", stdout);
^
user.cpp:28:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &lmax);
^
user.cpp:29:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:88:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccg7RpLV.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 | 260kb | Killed by signal 8(SIGFPE). | 0 |
2 | 0ms | 260kb | Killed by signal 8(SIGFPE). | 0 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 272kb | Incorect | 0 |
6 | 0ms | 272kb | Incorect | 0 |
7 | 0ms | 268kb | Incorect | 0 |
8 | 0ms | 272kb | Incorect | 0 |
9 | 0ms | 232kb | Killed by signal 8(SIGFPE). | 0 |
10 | 0ms | 268kb | Incorect | 0 |
Punctaj total | 10 |