Pagini recente » Borderou de evaluare (job #256946) | Borderou de evaluare (job #2082162) | Borderou de evaluare (job #2384429) | Borderou de evaluare (job #867005) | Borderou de evaluare (job #1772791)
Borderou de evaluare (job #1772791)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int sum(int)’:
user.cpp:21:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (y.second = xx) S += y.first;
^
user.cpp: In function ‘int main()’:
user.cpp:44:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pariuri.in", "r", stdin);
^
user.cpp:45:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pariuri.out", "w", stdout);
^
user.cpp:47:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:51:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &k);
^
user.cpp:55:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &t, &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 8364kb | OK! | 10 |
2 | 84ms | 9440kb | Raspuns gresit! | 0 |
3 | 260ms | 11840kb | Raspuns gresit! | 0 |
4 | 352ms | 13040kb | Raspuns gresit! | 0 |
5 | 568ms | Depăşit | Memory limit exceeded. | 0 |
6 | 580ms | Depăşit | Memory limit exceeded. | 0 |
7 | 580ms | Depăşit | Memory limit exceeded. | 0 |
8 | 568ms | Depăşit | Memory limit exceeded. | 0 |
9 | 576ms | Depăşit | Memory limit exceeded. | 0 |
10 | 576ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 10 |