Pagini recente » Borderou de evaluare (job #2368671) | Borderou de evaluare (job #605744) | Borderou de evaluare (job #1860768) | Borderou de evaluare (job #2745729) | Borderou de evaluare (job #1917341)
Borderou de evaluare (job #1917341)
Raport evaluator
Compilare:
user.cpp: In function ‘int gaseste(const int&, const int&)’:
user.cpp:24:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v[c].size() < p) return -1;
^
user.cpp: In function ‘int main()’:
user.cpp:40:18: warning: unused variable ‘poz’ [-Wunused-variable]
int q, p, c, poz;
^
user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("costuri.in", "r", stdin);
^
user.cpp:31:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("costuri.out", "w", stdout);
^
user.cpp:33:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:36:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:41:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:44:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &p, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1432kb | OK | 10 |
2 | 0ms | 1428kb | OK | 10 |
3 | 0ms | 1428kb | OK | 10 |
4 | 92ms | 1960kb | OK | 10 |
5 | 104ms | 1960kb | OK | 10 |
6 | 100ms | 1980kb | OK | 10 |
7 | 88ms | 1912kb | OK | 10 |
8 | 100ms | 1964kb | OK | 10 |
9 | 100ms | 2092kb | OK | 10 |
10 | 100ms | 1952kb | OK | 10 |
Punctaj total | 100 |