Pagini recente » Borderou de evaluare (job #1874783) | Borderou de evaluare (job #1756733) | Borderou de evaluare (job #1825307) | Borderou de evaluare (job #1995726) | Borderou de evaluare (job #1611804)
Borderou de evaluare (job #1611804)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:107:9: warning: unused variable ‘i’ [-Wunused-variable]
int i, j;
^
user.cpp:107:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp: In function ‘void read()’:
user.cpp:13: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:14:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:19:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &x); x += inf;
^
user.cpp: In function ‘void solve()’:
user.cpp:110:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:125: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);
^
/tmp/ccZJ9fPY.o: In function `solve()':
user.cpp:(.text+0x3da): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK | 10 |
2 | 0ms | 456kb | OK | 10 |
3 | 0ms | 472kb | OK | 10 |
4 | 0ms | 464kb | OK | 10 |
5 | 8ms | 484kb | OK | 10 |
6 | 0ms | 468kb | Gresit! | 6 |
7 | 40ms | 484kb | OK | 10 |
8 | 64ms | 480kb | OK | 10 |
9 | 0ms | 480kb | OK | 10 |
10 | 0ms | 472kb | OK | 10 |
Punctaj total | 96 |