Pagini recente » Borderou de evaluare (job #2127726) | Borderou de evaluare (job #2784141) | Borderou de evaluare (job #1100429) | Borderou de evaluare (job #2717472)
Borderou de evaluare (job #2717472)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d%d", &n, &m );
^
main.cpp:22:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &v[i] );
^
main.cpp:31:20: warning: iteration 31620 invokes undefined behavior [-Waggressive-loop-optimizations]
if ( ciur[j] == 0 ) {
~~~~~~^
main.cpp:30:20: note: within this loop
for ( j = 2; j <= MAXX; j++ ) {
^
main.cpp:26:20: warning: iteration 31620 invokes undefined behavior [-Waggressive-loop-optimizations]
if ( ciur[i] == 0 && i * i <= MAXX ) {
~~~~~~^
main.cpp:25:20: note: within this loop
for ( i = 2; i <= MAXX; i++ ) {
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 3ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | Incorect | 0 |
| 6 | 3ms | 131kb | Incorect | 0 |
| 7 | 4ms | 131kb | Incorect | 0 |
| 8 | 10ms | 262kb | Incorect | 0 |
| 9 | 13ms | 262kb | Incorect | 0 |
| 10 | 13ms | 262kb | Incorect | 0 |
| 11 | 9ms | 262kb | Incorect | 0 |
| 12 | 34ms | 262kb | Incorect | 0 |
| 13 | 101ms | 262kb | OK | 5 |
| 14 | 1003ms | 131kb | Time limit exceeded | 0 |
| 15 | 1000ms | 131kb | Time limit exceeded | 0 |
| 16 | 1003ms | 131kb | Time limit exceeded | 0 |
| 17 | 1004ms | 188kb | Time limit exceeded | 0 |
| 18 | 6ms | 131kb | Incorect | 0 |
| 19 | 7ms | 131kb | Incorect | 0 |
| 20 | 7ms | 131kb | Incorect | 0 |
| Punctaj total | 15 |