Pagini recente » Borderou de evaluare (job #99150) | Borderou de evaluare (job #269307) | Borderou de evaluare (job #269010) | Borderou de evaluare (job #109549) | Borderou de evaluare (job #2383010)
Borderou de evaluare (job #2383010)
Raport evaluator
Compilare:
main.cpp: In function 'void solve2()':
main.cpp:94:30: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset (viz, false, sizeof (viz));
^
main.cpp: In function 'int main()':
main.cpp:130:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("casa.in", "r", stdin);
^
main.cpp:131:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("casa.out", "w", stdout);
^
main.cpp:132:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &p);
^
main.cpp: In function 'void solve1()':
main.cpp:11:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
main.cpp:14:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %c\n", &x, &ch);
^
main.cpp: In function 'void solve2()':
main.cpp:75:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &n, &m);
^
main.cpp:85:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 9ms | 262kb | OK | 10 |
4 | 63ms | 1966kb | OK | 10 |
5 | 61ms | 3932kb | OK | 10 |
6 | 60ms | 2097kb | OK | 10 |
7 | 22ms | 655kb | OK | 10 |
8 | 24ms | 655kb | OK | 10 |
9 | 52ms | 1179kb | OK | 10 |
10 | 52ms | 1966kb | OK | 10 |
Punctaj total | 100 |