Pagini recente » Borderou de evaluare (job #3298629) | Borderou de evaluare (job #1667004) | Borderou de evaluare (job #1445504) | Borderou de evaluare (job #300557) | Borderou de evaluare (job #2129775)
Borderou de evaluare (job #2129775)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:58:13: warning: unused variable ‘sus’ [-Wunused-variable]
int sus=0, jos=0, e=0, v=0;
^
user.cpp:58:20: warning: unused variable ‘jos’ [-Wunused-variable]
int sus=0, jos=0, e=0, v=0;
^
user.cpp:58:27: warning: unused variable ‘e’ [-Wunused-variable]
int sus=0, jos=0, e=0, v=0;
^
user.cpp:58:32: warning: unused variable ‘v’ [-Wunused-variable]
int sus=0, jos=0, e=0, v=0;
^
user.cpp:106:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &b[i][j]);
^
user.cpp:118:19: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
int nr=1, ok=0;
^
user.cpp:52: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);
^
user.cpp:53: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:54:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p);
^
user.cpp:57:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %d", &nr);
^
user.cpp:61:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c", &x1, &c);
^
user.cpp:90:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:106:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &b[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 756kb | OK | 10 |
| 2 | 0ms | 792kb | OK | 10 |
| 3 | 4ms | 880kb | OK | 10 |
| 4 | 44ms | 1316kb | OK | 10 |
| 5 | 32ms | 1360kb | OK | 10 |
| 6 | 44ms | 1244kb | OK | 10 |
| 7 | 16ms | 756kb | OK | 10 |
| 8 | 12ms | 804kb | OK | 10 |
| 9 | 36ms | 1172kb | OK | 10 |
| 10 | 32ms | 1200kb | OK | 10 |
| Punctaj total | 100 |