Pagini recente » Borderou de evaluare (job #1958284) | Borderou de evaluare (job #1201269) | Borderou de evaluare (job #2521726) | Borderou de evaluare (job #1380713) | Borderou de evaluare (job #1654813)
Borderou de evaluare (job #1654813)
Raport evaluator
Compilare:
user.cpp: In function ‘int calc1(int, int)’:
user.cpp:82:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int x , y , z;
^
user.cpp:82:13: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
int x , y , z;
^
user.cpp:82:17: warning: unused variable ‘z’ [-Wunused-variable]
int x , y , z;
^
user.cpp: In function ‘int calc2(int, int)’:
user.cpp:89:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int x , y , z;
^
user.cpp:89:13: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
int x , y , z;
^
user.cpp:89:17: warning: unused variable ‘z’ [-Wunused-variable]
int x , y , z;
^
user.cpp: In function ‘int calc(int, int, int)’:
user.cpp:102:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int x , y , t , z;
^
user.cpp:102:13: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
int x , y , t , z;
^
user.cpp:102:17: warning: variable ‘t’ set but not used [-Wunused-but-set-variable]
int x , y , t , z;
^
user.cpp:102:21: warning: unused variable ‘z’ [-Wunused-variable]
int x , y , t , z;
^
user.cpp: In function ‘int main()’:
user.cpp:18:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("xp.in","r",stdin);
^
user.cpp:19:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("xp.out","w",stdout);
^
user.cpp:21:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d", &n, &a, &b, &mod, &mod2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 476kb | OK | 10 |
| 2 | 4ms | 480kb | OK | 10 |
| 3 | 36ms | 476kb | OK | 10 |
| 4 | 76ms | 484kb | OK | 10 |
| 5 | 4ms | 480kb | OK | 10 |
| 6 | 948ms | 488kb | OK | 10 |
| 7 | 1136ms | 488kb | OK | 10 |
| 8 | 1440ms | 492kb | OK | 10 |
| 9 | 1516ms | 492kb | OK | 10 |
| 10 | 1516ms | 484kb | OK | 10 |
| Punctaj total | 100 |