Pagini recente » Borderou de evaluare (job #2522900) | Borderou de evaluare (job #2206308) | Borderou de evaluare (job #1356167) | Borderou de evaluare (job #1320080) | Borderou de evaluare (job #1946899)
Borderou de evaluare (job #1946899)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(std::vector<int>&)’:
user.cpp:46:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (p1 = 0; p1 < le.size(); p1++) {
^
user.cpp: In function ‘int main()’:
user.cpp:61:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("datorii2.in","r",stdin);
^
user.cpp:62:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("datorii2.out","w",stdout);
^
user.cpp:64:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:66:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &c); a--; b--; swap(a, b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 496kb | Corect! | 10 |
| 2 | 4ms | 832kb | Corect! | 10 |
| 3 | 216ms | 12720kb | Corect! | 10 |
| 4 | 220ms | 12716kb | Corect! | 10 |
| 5 | 216ms | 12716kb | Corect! | 10 |
| 6 | 216ms | 12724kb | Corect! | 10 |
| 7 | 0ms | 460kb | Corect! | 10 |
| 8 | 228ms | 12720kb | Corect! | 10 |
| 9 | 216ms | 12724kb | Corect! | 10 |
| 10 | 216ms | 12716kb | Corect! | 10 |
| Punctaj total | 100 |