Pagini recente » Borderou de evaluare (job #969450) | Borderou de evaluare (job #1995254) | Borderou de evaluare (job #2539472) | Borderou de evaluare (job #212785) | Borderou de evaluare (job #2221833)
Borderou de evaluare (job #2221833)
Raport evaluator
Compilare:
user.cpp:25:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int Search(int sum)
^~~~~~
user.cpp:13:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int Querry(int position)
^~~~~~
user.cpp:5:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void Update(int position, int value)
^~~~~~
user.cpp: In function ‘int main()’:
user.cpp:48:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in", "r", stdin);
^
user.cpp:49:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out", "w", stdout);
^
user.cpp:53:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &length, &operations);
^
user.cpp:57:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:64:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &task);
^
user.cpp:68:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
case 0: scanf("%d %d", &x, &y);
^
user.cpp:72:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
case 1: scanf("%d %d", &x, &y);
^
user.cpp:76:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
case 2: scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 804kb | OK | 10 |
2 | 0ms | 816kb | OK | 10 |
3 | 8ms | 816kb | OK | 10 |
4 | 32ms | 804kb | OK | 10 |
5 | 68ms | 792kb | OK | 10 |
6 | 104ms | 908kb | OK | 10 |
7 | 112ms | 988kb | OK | 10 |
8 | 156ms | 1044kb | OK | 10 |
9 | 160ms | 1040kb | OK | 10 |
10 | 160ms | 1044kb | OK | 10 |
Punctaj total | 100 |