Pagini recente » Borderou de evaluare (job #1821890) | Borderou de evaluare (job #1099917) | Borderou de evaluare (job #2148103) | Borderou de evaluare (job #2709952) | Borderou de evaluare (job #2443537)
Borderou de evaluare (job #2443537)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<int> inter(std::vector<int>, std::vector<int>, int)':
main.cpp:47:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(c.size()<=k && i<sza && j<szb){
~~~~~~~~^~~
main.cpp:51:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(c.size()<=k && i<sza) c.push_back(a[i++]);
~~~~~~~~^~~
main.cpp:52:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(c.size()<=k && j<szb) c.push_back(b[j++]+val);
~~~~~~~~^~~
main.cpp: In function 'int main()':
main.cpp:15:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pitici.in", "r", stdin);
^
main.cpp:16:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pitici.out", "w", stdout);
^
main.cpp:17:24: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(c, 30, stdin); p=-1;
^
main.cpp:21:28: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(c, 30, stdin); p=-1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 7ms | 262kb | OK | 10 |
4 | 7ms | 262kb | OK | 10 |
5 | 7ms | 262kb | OK | 10 |
6 | 380ms | 1835kb | OK | 10 |
7 | 424ms | 1966kb | OK | 10 |
8 | 451ms | 6422kb | Time limit exceeded | 0 |
9 | 451ms | 6422kb | Time limit exceeded | 0 |
10 | 452ms | 6291kb | Time limit exceeded | 0 |
Punctaj total | 70 |