Pagini recente » Borderou de evaluare (job #1993544) | Borderou de evaluare (job #2671774) | Borderou de evaluare (job #948637) | Borderou de evaluare (job #2091379) | Borderou de evaluare (job #1933509)
Borderou de evaluare (job #1933509)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve2()’:
user.cpp:75:25: warning: unused variable ‘st’ [-Wunused-variable]
int st = 1, dr = 1;
^
user.cpp:75:33: warning: unused variable ‘dr’ [-Wunused-variable]
int st = 1, dr = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:108:35: 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);
^
user.cpp:109:37: 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);
^
user.cpp:110:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p);
^
user.cpp: In function ‘void solve1()’:
user.cpp:12:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:18:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c\n", &val, &c);
^
user.cpp: In function ‘void solve2()’:
user.cpp:55: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:65:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]), a[i][j] *= (-1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 308kb | OK | 10 |
3 | 4ms | 432kb | OK | 10 |
4 | 48ms | 1184kb | OK | 10 |
5 | 36ms | 1184kb | OK | 10 |
6 | 44ms | 924kb | OK | 10 |
7 | 16ms | 400kb | OK | 10 |
8 | 12ms | 668kb | OK | 10 |
9 | 40ms | 920kb | OK | 10 |
10 | 32ms | 1016kb | OK | 10 |
Punctaj total | 100 |