Pagini recente » Borderou de evaluare (job #2165818) | Borderou de evaluare (job #2163866) | Borderou de evaluare (job #1969691) | Borderou de evaluare (job #1971500) | Borderou de evaluare (job #2163682)
Borderou de evaluare (job #2163682)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d",&a,&b);
^
user.cpp:33:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘void date()’:
user.cpp:21:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pinex.in","r",stdin);
^
user.cpp:22:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pinex.out","w",stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:28:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
user.cpp:33:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a,&b);
^
user.cpp: In function ‘void ciur()’:
user.cpp:15:18: warning: iteration 99999u invokes undefined behavior [-Waggressive-loop-optimizations]
if(prim[i] == 0)
^
user.cpp:14:18: note: containing loop
for(int i=2;i<nMax;i++)
^
user.cpp:11:18: warning: iteration 99999u invokes undefined behavior [-Waggressive-loop-optimizations]
if(prim[i] == 0)
^
user.cpp:10:18: note: containing loop
for(int i=2;i<nMax;i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 2612kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 4ms | 2632kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
3 | 4ms | 2592kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 4ms | 2608kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 4ms | 2664kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 4ms | 2616kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 4ms | 2544kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 4ms | 2620kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 4ms | 2448kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 4ms | 2676kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |