Pagini recente » Borderou de evaluare (job #1716131) | Cod sursa (job #453452) | Cod sursa (job #1962007) | Borderou de evaluare (job #725169) | Borderou de evaluare (job #2243042)
Borderou de evaluare (job #2243042)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int it = 0; it < vals.size(); it++) {
~~~^~~~~~~~~~~~~
user.cpp:15:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&n);
^
user.cpp:17:58: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d " ,&arr[i].first,&arr[i].second);
^
user.cpp:36:24: warning: ‘id’ may be used uninitialized in this function [-Wmaybe-uninitialized]
vals[id] = max(vals[id], arr[p].second);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1320kb | OK | 10 | 10 |
| 2 | 0ms | 1320kb | OK | 10 | 10 |
| 3 | 0ms | 1316kb | OK | 10 | 10 |
| 4 | 0ms | 1320kb | OK | 10 | 40 |
| 5 | 8ms | 1320kb | OK | 10 |
| 6 | 0ms | 1320kb | OK | 10 |
| 8 | 40ms | 1320kb | OK | 10 |
| 7 | 0ms | 1320kb | OK | 10 | 20 |
| 9 | 80ms | 1320kb | OK | 10 |
| 10 | 136ms | 1320kb | OK | 10 | 10 |
| Punctaj total | 100 |