Pagini recente » Borderou de evaluare (job #592574) | Borderou de evaluare (job #1052128) | Borderou de evaluare (job #199777) | Borderou de evaluare (job #1554539) | Borderou de evaluare (job #1933511)
Borderou de evaluare (job #1933511)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve2()’:
user.cpp:74:25: warning: unused variable ‘st’ [-Wunused-variable]
int st = 1, dr = 1;
^
user.cpp:74:33: warning: unused variable ‘dr’ [-Wunused-variable]
int st = 1, dr = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:107: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:108: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:109: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:53: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:64: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 | 292kb | OK | 10 |
2 | 0ms | 308kb | OK | 10 |
3 | 4ms | 428kb | OK | 10 |
4 | 48ms | 1180kb | OK | 10 |
5 | 36ms | 1184kb | OK | 10 |
6 | 48ms | 916kb | OK | 10 |
7 | 16ms | 396kb | OK | 10 |
8 | 12ms | 664kb | OK | 10 |
9 | 40ms | 916kb | OK | 10 |
10 | 36ms | 1028kb | OK | 10 |
Punctaj total | 100 |