Pagini recente » Borderou de evaluare (job #1166942) | Borderou de evaluare (job #1168900) | Borderou de evaluare (job #1729833) | Borderou de evaluare (job #2294721) | Borderou de evaluare (job #1547237)
Borderou de evaluare (job #1547237)
Raport evaluator
Compilare:
user.cpp: In function ‘int isPrime(int)’:
user.cpp:16:23: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (x < 2 || x > 2 && x % 2 == 0)
^
user.cpp: In function ‘int main()’:
user.cpp:55:35: 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:56:37: 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:58:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:60:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 8ms | 4364kb | OK | 10 | 10 |
| 2 | 84ms | 4360kb | OK | 10 | 10 |
| 3 | 84ms | 4364kb | OK | 10 | 10 |
| 4 | Depăşit | 4312kb | Time limit exceeded. | 0 | 0 |
| 5 | Depăşit | 4316kb | Time limit exceeded. | 0 | 0 |
| 6 | Depăşit | 4312kb | Time limit exceeded. | 0 | 0 |
| 7 | Depăşit | 4312kb | Time limit exceeded. | 0 | 0 |
| 8 | Depăşit | 4320kb | Time limit exceeded. | 0 | 0 |
| 9 | Depăşit | 4320kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 4316kb | Time limit exceeded. | 0 |
| Punctaj total | 30 |