Pagini recente » Borderou de evaluare (job #2701437) | Borderou de evaluare (job #191826) | Borderou de evaluare (job #2280663) | Borderou de evaluare (job #276905) | Borderou de evaluare (job #1727360)
Borderou de evaluare (job #1727360)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:9:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘int solve(int, char*)’:
user.cpp:17:9: warning: unused variable ‘N’ [-Wunused-variable]
int N = n;
^
user.cpp: In function ‘void read()’:
user.cpp:10:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:103:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("csir.in", "r", stdin);
^
user.cpp:104:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("csir.out", "w", stdout);
^
user.cpp:105:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
/tmp/ccS6JKL4.o: In function `read()':
user.cpp:(.text+0x13): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 0ms | 448kb | Incorect | 0 |
3 | 0ms | 452kb | Incorect | 0 |
4 | 0ms | 704kb | Incorect | 0 |
5 | 0ms | 536kb | Incorect | 0 |
6 | 4ms | 576kb | Incorect | 0 |
7 | 8ms | 592kb | Incorect | 0 |
8 | 4ms | 756kb | Incorect | 0 |
9 | 4ms | 736kb | Incorect | 0 |
10 | 4ms | 588kb | Incorect | 0 |
Punctaj total | 10 |