Pagini recente » Cod sursa (job #116608) | Borderou de evaluare (job #927955) | geometrie | Borderou de evaluare (job #1562651) | Borderou de evaluare (job #2644789)
Borderou de evaluare (job #2644789)
Raport evaluator
Compilare:
main.cpp: In function 'bool is_valid(int, int, std::vector<int>&)':
main.cpp:8:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<ys.size(); ++i) {
~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:48:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<solutions.size(); ++i) {
~^~~~~~~~~~~~~~~~~
main.cpp:36:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("damesah.in", "r", stdin);
^
main.cpp:37:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("damesah.out", "w", stdout);
^
main.cpp:40:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 3ms | 131kb | OK | 10 |
| 6 | 5ms | 131kb | OK | 10 |
| 7 | 15ms | 131kb | OK | 10 |
| 8 | 68ms | 131kb | OK | 10 |
| 9 | 320ms | 131kb | OK | 10 |
| 10 | 1000ms | 131kb | Time limit exceeded | 0 |
| Punctaj total | 90 |