Pagini recente » Borderou de evaluare (job #615284) | Borderou de evaluare (job #499943) | Borderou de evaluare (job #2943748) | Borderou de evaluare (job #928056) | Borderou de evaluare (job #1186958)
Borderou de evaluare (job #1186958)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:85:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc18.in", "r", stdin);
^
user.cpp:86:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc18.out", "w", stdout);
^
user.cpp:88:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:90:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:94:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val);
^
user.cpp: In function ‘void init_prmes()’:
user.cpp:18:10: warning: iteration 100003u invokes undefined behavior [-Waggressive-loop-optimizations]
if (v[i] == 0)
^
user.cpp:17:2: note: containing loop
for (int i = 2; i < 1000005; i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |