Pagini recente » Borderou de evaluare (job #110823) | Borderou de evaluare (job #2945264) | Borderou de evaluare (job #515523) | Borderou de evaluare (job #2268965) | Borderou de evaluare (job #1690283)
Borderou de evaluare (job #1690283)
Raport evaluator
Compilare:
user.cpp: In function ‘void task2()’:
user.cpp:87:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &a[(i - 1) * m + j]);
^
user.cpp:82:15: warning: unused variable ‘r’ [-Wunused-variable]
int i, j, r, d;
^
user.cpp:82:18: warning: unused variable ‘d’ [-Wunused-variable]
int i, j, r, d;
^
user.cpp: In function ‘void write()’:
user.cpp:141:13: warning: unused variable ‘ak’ [-Wunused-variable]
int ak = 47;
^
user.cpp: In function ‘void read()’:
user.cpp:18: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:19: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 task1()’:
user.cpp:25:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &nr);
^
user.cpp:30:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c\n", &r, &d);
^
user.cpp: In function ‘void task2()’:
user.cpp:83: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:87:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[(i - 1) * m + j]);
^
user.cpp: In function ‘void write()’:
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("casa.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 0ms | 452kb | OK | 10 |
3 | 4ms | 536kb | OK | 10 |
4 | 48ms | 1088kb | OK | 10 |
5 | 40ms | 1012kb | OK | 10 |
6 | 44ms | 1000kb | OK | 10 |
7 | 16ms | 536kb | OK | 10 |
8 | 16ms | 544kb | OK | 10 |
9 | 36ms | 960kb | OK | 10 |
10 | 36ms | 964kb | OK | 10 |
Punctaj total | 100 |