Pagini recente » Borderou de evaluare (job #2259771) | Cod sursa (job #2829649) | Borderou de evaluare (job #1345031) | Borderou de evaluare (job #2559114) | Borderou de evaluare (job #2140560)
Borderou de evaluare (job #2140560)
Raport evaluator
Compilare:
user.cpp: In function ‘bool cmp(Update, Update)’:
user.cpp:32:61: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
bool cmp(Update A, Update B){return A.x < B.x || A.x == B.x && A.val < B.val;}
^
user.cpp: In function ‘int main()’:
user.cpp:65:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d%d", &n, &c);
^
user.cpp:66:81: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; i++) fscanf(fi,"%d%d", &x, &y), v[i] = {x + y, x - y};
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1588kb | OK | 10 |
| 2 | 4ms | 1596kb | OK | 10 |
| 3 | 548ms | 2172kb | OK | 10 |
| 4 | 80ms | 1728kb | OK | 10 |
| 5 | 260ms | 1924kb | OK | 10 |
| 6 | 404ms | 2168kb | OK | 10 |
| 7 | 640ms | 2628kb | OK | 10 |
| 8 | 584ms | 2584kb | OK | 10 |
| 9 | 652ms | 2628kb | OK | 10 |
| 10 | 724ms | 2628kb | OK | 10 |
| Punctaj total | 100 |