Pagini recente » Borderou de evaluare (job #513164) | Borderou de evaluare (job #1985651) | Borderou de evaluare (job #2762756) | Borderou de evaluare (job #2762755) | Borderou de evaluare (job #2463473)
Borderou de evaluare (job #2463473)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:27:28: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d %d",&a,&b);
^
main.cpp:27:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:40:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<primes.size() && gc!= 1 && 1LL * primes[i] * primes[i] <= cgc; ++i)
~^~~~~~~~~~~~~~
main.cpp:20:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("eqset.in","r",stdin);
^
main.cpp:21:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("eqset.out","w",stdout);
^
main.cpp:23:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
main.cpp:27:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 601ms | 1843kb | Time limit exceeded | 0 |
Punctaj total | 0 |