Pagini recente » Borderou de evaluare (job #385814) | Borderou de evaluare (job #1594318) | Borderou de evaluare (job #2113209) | Borderou de evaluare (job #2549868) | Borderou de evaluare (job #1756437)
Borderou de evaluare (job #1756437)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:18:56: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d", &Array[i].first, &Array[i].second);
^
user.cpp:18:56: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘void buildTree(int, int, int)’:
user.cpp:66:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < Arb[2 * K + 1].size(); i++)
^
user.cpp: In function ‘void Solve()’:
user.cpp:128:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d%d", &a.first, &a.second, &b.first, &b.second);
^
user.cpp:128:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:128:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:128:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘void Read()’:
user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &K, &N);
^
user.cpp:18:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &Array[i].first, &Array[i].second);
^
user.cpp: In function ‘bool check(int, long long int, long long int, long long int)’:
user.cpp:47:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘void Solve()’:
user.cpp:128:68: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &a.first, &a.second, &b.first, &b.second);
^
user.cpp: In function ‘int main()’:
user.cpp:153:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri3.in", "r", stdin);
^
user.cpp:154:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri3.out", "w" ,stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 6624kb | OK | 10 |
2 | 12ms | 6668kb | OK | 10 |
3 | 108ms | 8972kb | OK | 10 |
4 | 244ms | 17168kb | OK | 10 |
5 | 492ms | 25180kb | OK | 10 |
6 | 848ms | 17156kb | OK | 10 |
7 | 1144ms | 20520kb | OK | 10 |
8 | 632ms | 16628kb | OK | 10 |
9 | 708ms | 17684kb | OK | 10 |
10 | 772ms | 18672kb | OK | 10 |
Punctaj total | 100 |