Pagini recente » Borderou de evaluare (job #2907784) | Borderou de evaluare (job #919063) | Borderou de evaluare (job #80916) | Borderou de evaluare (job #2172121) | Borderou de evaluare (job #1447330)
Borderou de evaluare (job #1447330)
Raport evaluator
Compilare:
user.cpp: In function ‘void GeneratePrimeNrs(std::vector<int>*, int)’:
user.cpp:32:6: warning: unused variable ‘idx’ [-Wunused-variable]
int idx = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:56:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<primeNumbers.size(); j++)
^
user.cpp:54:15: warning: unused variable ‘nr2’ [-Wunused-variable]
int64 nr1, nr2;
^
user.cpp:69:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<l.size(); i++)
^
user.cpp:39:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN_FILE_NAME, "r", stdin);
^
user.cpp:40:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT_FILE_NAME, "w", stdout);
^
user.cpp:43:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:49:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:55:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu", &nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 772kb | Time limit exceeded. | 0 |
Punctaj total | 0 |