Pagini recente » Borderou de evaluare (job #2082477) | Borderou de evaluare (job #2274) | Borderou de evaluare (job #668525) | Borderou de evaluare (job #1624970) | Borderou de evaluare (job #1557441)
Borderou de evaluare (job #1557441)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:24: warning: unused variable ‘ec1’ [-Wunused-variable]
long long j, n, k, ec1=0, ec2=0, i, a, b, c, d, fe2=0, f2=0, fe1=0, f1=0, x;
^
user.cpp:16:31: warning: unused variable ‘ec2’ [-Wunused-variable]
long long j, n, k, ec1=0, ec2=0, i, a, b, c, d, fe2=0, f2=0, fe1=0, f1=0, x;
^
user.cpp:18:10: warning: variable ‘cc’ set but not used [-Wunused-but-set-variable]
char cc;
^
user.cpp:14:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.in", "r", stdin);
^
user.cpp:15:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.out", "w", stdout);
^
user.cpp:19:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld\n", &n, &k);
^
user.cpp:22:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &x);
^
user.cpp:31:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cckYu2bV.o: In function `main':
user.cpp:(.text.startup+0x179): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 296kb | Gresit! | 7 |
3 | 0ms | 296kb | OK | 10 |
4 | 0ms | 292kb | Gresit! | 7 |
5 | 8ms | 356kb | Gresit! | 7 |
6 | 0ms | 296kb | Gresit! | 7 |
7 | 44ms | 356kb | Gresit! | 7 |
8 | 64ms | 356kb | Gresit! | 7 |
9 | 0ms | 316kb | Gresit! | 7 |
10 | 0ms | 312kb | Gresit! | 7 |
Punctaj total | 76 |