Pagini recente » Borderou de evaluare (job #475485) | Borderou de evaluare (job #3227665) | Borderou de evaluare (job #1983736) | Borderou de evaluare (job #299475) | Borderou de evaluare (job #1447333)
Borderou de evaluare (job #1447333)
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:62:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<l.size(); j++)
^
user.cpp:72:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<primeNumbers.size(); j++)
^
user.cpp:88:21: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld ", 1);
^
user.cpp:90: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:56: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 | 0ms | 748kb | Killed by signal 8(SIGFPE). | 0 |
Punctaj total | 0 |