Pagini recente » Borderou de evaluare (job #302260) | Borderou de evaluare (job #2017435) | Borderou de evaluare (job #1770773) | Borderou de evaluare (job #3115942) | Borderou de evaluare (job #1353207)
Borderou de evaluare (job #1353207)
Raport evaluator
Compilare:
user.cpp: In function ‘void setbit(long long unsigned int&, int, int)’:
user.cpp:11:24: warning: unused variable ‘dr’ [-Wunused-variable]
unsigned long long dr = 1;
^
user.cpp: In function ‘void semipal(int, long long int)’:
user.cpp:24:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k>nr)
^
user.cpp:19:14: warning: unused variable ‘ok’ [-Wunused-variable]
int i=1, ok, st, dr;
^
user.cpp:20:30: warning: unused variable ‘P’ [-Wunused-variable]
unsigned long long nr=1, P;
^
user.cpp: In function ‘int main()’:
user.cpp:44:24: warning: unused variable ‘rez’ [-Wunused-variable]
unsigned long long rez, rez2, R, rez3;
^
user.cpp:44:29: warning: unused variable ‘rez2’ [-Wunused-variable]
unsigned long long rez, rez2, R, rez3;
^
user.cpp:44:35: warning: unused variable ‘R’ [-Wunused-variable]
unsigned long long rez, rez2, R, rez3;
^
user.cpp:44:38: warning: unused variable ‘rez3’ [-Wunused-variable]
unsigned long long rez, rez2, R, rez3;
^
user.cpp:45:12: warning: unused variable ‘i’ [-Wunused-variable]
int T, i;
^
user.cpp:42:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("semipal.in","r",stdin);
^
user.cpp:43:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("semipal.out","w",stdout);
^
user.cpp:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:50:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lld", &n, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 248kb | Incorect | 0 |
Punctaj total | 0 |