Pagini recente » Borderou de evaluare (job #3223372) | Borderou de evaluare (job #96527) | Borderou de evaluare (job #1029885) | Borderou de evaluare (job #593311) | Borderou de evaluare (job #1756435)
Borderou de evaluare (job #1756435)
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:126: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:126:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:126:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:126: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:126: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:151: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:152: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 | 6628kb | OK | 10 |
2 | 12ms | 6672kb | OK | 10 |
3 | 104ms | 8972kb | OK | 10 |
4 | 252ms | 17168kb | OK | 10 |
5 | 496ms | 25180kb | OK | 10 |
6 | 1004ms | 17156kb | OK | 10 |
7 | Depăşit | 20520kb | Time limit exceeded. | 0 |
8 | 720ms | 16628kb | OK | 10 |
9 | 808ms | 17684kb | OK | 10 |
10 | 884ms | 18676kb | OK | 10 |
Punctaj total | 90 |