Pagini recente » Borderou de evaluare (job #2629709) | Borderou de evaluare (job #2895143) | Borderou de evaluare (job #1548621) | Borderou de evaluare (job #985255) | Borderou de evaluare (job #1402879)
Borderou de evaluare (job #1402879)
Raport evaluator
Compilare:
user.cpp: In function ‘int valid(std::vector<bool>)’:
user.cpp:36:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < chk.size(); i++)
^
user.cpp:37:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = i+1; j < chk.size(); j++)
^
user.cpp:41:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0; k < chk.size() && ok; k++)
^
user.cpp: In function ‘elem solve(int&)’:
user.cpp:86:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < crt.size(); i++)
^
user.cpp:87:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = i+1; j < crt.size(); j++)
^
user.cpp: In function ‘int main()’:
user.cpp:124:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("volei.in", "r", stdin);
^
user.cpp:125:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("volei.out", "w", stdout);
^
user.cpp:128:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &d);
^
user.cpp:131:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &pos[i].x, &pos[i].y);
^
user.cpp:132:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c", &c);
^
user.cpp: In function ‘elem solve(int&)’:
user.cpp:16:8: warning: ‘x.elem::i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
struct elem
^
user.cpp:110:10: note: ‘x.elem::i’ was declared here
elem x;
^
user.cpp:16:8: warning: ‘x.elem::j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
struct elem
^
user.cpp:110:10: note: ‘x.elem::j’ was declared here
elem x;
^
user.cpp:16:8: warning: ‘x.elem::bef’ may be used uninitialized in this function [-Wmaybe-uninitialized]
struct elem
^
user.cpp:110:10: note: ‘x.elem::bef’ was declared here
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 776kb | Ok! | 10 |
2 | 0ms | 780kb | Ok! | 10 |
3 | 8ms | 812kb | Ok! | 10 |
4 | 4ms | 804kb | Ok! | 10 |
5 | 12ms | 844kb | Ok! | 10 |
6 | 0ms | 780kb | Ok! | 10 |
7 | 0ms | 784kb | Ok! | 10 |
8 | Depăşit | 996kb | Time limit exceeded. | 0 |
9 | 4ms | 800kb | Ok! | 10 |
10 | 0ms | 780kb | Raspuns Gresit | 0 |
Punctaj total | 80 |