Pagini recente » Borderou de evaluare (job #3161910) | Borderou de evaluare (job #708572) | Borderou de evaluare (job #3232897) | Borderou de evaluare (job #1197298) | Borderou de evaluare (job #2320244)
Borderou de evaluare (job #2320244)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:13:12: warning: unused variable 'rez' [-Wunused-variable]
int p, rez, a, b, nr=0, x, cif=0;
^~~
main.cpp:11:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("eq4.in", "r", stdin);
^
main.cpp:12:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("eq4.out", "w", stdout);
^
main.cpp:16:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &p);
^
main.cpp:63:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%lld", &a, &b, &e);
^
main.cpp:62:13: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
val+=(nr*x);
~~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Rapuns gresit | 0 |
2 | 2ms | 131kb | Corect | 1 |
3 | 2ms | 131kb | Rapuns gresit | 0 |
4 | 2ms | 131kb | Corect | 4 |
5 | 2ms | 131kb | Rapuns gresit | 0 |
6 | 2ms | 131kb | Rapuns gresit | 0 |
7 | 3ms | 262kb | Rapuns gresit | 0 |
8 | 8ms | 393kb | Rapuns gresit | 0 |
9 | 2ms | 131kb | Rapuns gresit | 0 |
10 | 3ms | 131kb | Rapuns gresit | 0 |
11 | 2ms | 131kb | Rapuns gresit | 0 |
12 | 18ms | 917kb | Rapuns gresit | 0 |
13 | 289ms | 8126kb | Rapuns gresit | 0 |
14 | 101ms | 3014kb | Rapuns gresit | 0 |
15 | 178ms | 7995kb | Rapuns gresit | 0 |
16 | 128ms | 5242kb | Rapuns gresit | 0 |
17 | 3ms | 131kb | Rapuns gresit | 0 |
18 | 163ms | 6684kb | Rapuns gresit | 0 |
19 | 192ms | 8126kb | Rapuns gresit | 0 |
20 | 254ms | 8126kb | Rapuns gresit | 0 |
21 | 11ms | 393kb | Rapuns gresit | 0 |
22 | 209ms | 6684kb | Rapuns gresit | 0 |
Punctaj total | 5 |