Pagini recente » Borderou de evaluare (job #2322715) | Borderou de evaluare (job #580511) | Borderou de evaluare (job #234459) | Borderou de evaluare (job #2271592) | Borderou de evaluare (job #2352643)
Borderou de evaluare (job #2352643)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:56:21: warning: unused variable 'nr' [-Wunused-variable]
long long t,n,p,nr,gasit,x;
^~
main.cpp:56:24: warning: unused variable 'gasit' [-Wunused-variable]
long long t,n,p,nr,gasit,x;
^~~~~
main.cpp:56:30: warning: unused variable 'x' [-Wunused-variable]
long long t,n,p,nr,gasit,x;
^
main.cpp: In function 'long long int rezolvare(long long int, long long int)':
main.cpp:50:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:54:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre4.in","r",stdin);
^
main.cpp:55:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre4.out","w",stdout);
^
main.cpp:57:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &t);
^
main.cpp:60:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld", &n, &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1517ms | 18083kb | OK | 100 |
Punctaj total | 100 |