Pagini recente » Borderou de evaluare (job #3250523) | Borderou de evaluare (job #261476) | Borderou de evaluare (job #143198) | Cod sursa (job #83643) | Borderou de evaluare (job #2594644)
Borderou de evaluare (job #2594644)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:56:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int d = prime[0], k = 0; k < prime.size() && d * d <= nr; k++, d = prime[k]) {
~~^~~~~~~~~~~~~~
main.cpp: In function 'char nxt()':
main.cpp:20:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, DIM, stdin);
^
main.cpp: In function 'int main()':
main.cpp:49:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sprim.in", "r", stdin);
^
main.cpp:50:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sprim.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 13ms | 4194kb | Incorect | 0 |
| 5 | 17ms | 4194kb | Incorect | 0 |
| 6 | 17ms | 4194kb | Incorect | 0 |
| 7 | 19ms | 4194kb | Incorect | 0 |
| 8 | 29ms | 4194kb | Incorect | 0 |
| 9 | 29ms | 4194kb | Incorect | 0 |
| 10 | 29ms | 4194kb | Incorect | 0 |
| Punctaj total | 0 |