Pagini recente » Borderou de evaluare (job #1023195) | Cod sursa (job #69812) | Cod sursa (job #1093045) | Cod sursa (job #2017953) | Borderou de evaluare (job #1237581)
Borderou de evaluare (job #1237581)
Raport evaluator
Compilare:
user.cpp: In function ‘void f(int&, int&, int*, int*, int*)’:
user.cpp:34:29: 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(clique, 0, sizeof(clique));
^
user.cpp:35:28: 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(indep, 0, sizeof(indep));
^
user.cpp: In function ‘int main()’:
user.cpp:92:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("soc.in", "r", stdin);
^
user.cpp:93:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("soc.out", "w", stdout);
^
user.cpp:96: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:98:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val[i]);
^
user.cpp:100:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | OK! | 5 |
| 2 | 60ms | 592kb | OK! | 5 |
| 3 | 0ms | 324kb | OK! | 5 |
| 4 | 0ms | 340kb | OK! | 5 |
| 5 | 0ms | 416kb | OK! | 5 |
| 6 | 4ms | 532kb | OK! | 5 |
| 7 | 8ms | 564kb | OK! | 5 |
| 8 | 4ms | 456kb | OK! | 5 |
| 9 | 4ms | 452kb | OK! | 5 |
| 10 | 24ms | 716kb | OK! | 5 |
| 11 | 32ms | 564kb | OK! | 5 |
| 12 | 28ms | 548kb | OK! | 5 |
| 13 | 44ms | 608kb | OK! | 5 |
| 14 | 56ms | 652kb | OK! | 5 |
| 15 | 72ms | 612kb | OK! | 5 |
| 16 | 76ms | 648kb | OK! | 5 |
| 17 | 92ms | 624kb | OK! | 5 |
| 18 | 84ms | 624kb | OK! | 5 |
| 19 | 64ms | 620kb | OK! | 5 |
| 20 | 64ms | 612kb | OK! | 5 |
| Punctaj total | 100 |