Pagini recente » Borderou de evaluare (job #163681) | Borderou de evaluare (job #2329024) | Borderou de evaluare (job #1122647) | Borderou de evaluare (job #1228624) | Borderou de evaluare (job #2118231)
Borderou de evaluare (job #2118231)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:20:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&vPrieteni[i]);
^
user.cpp:22:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:27:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&aux1,&aux2,&mi.cost,&mi.w);
^
user.cpp: In function ‘int main()’:
user.cpp:71:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in","r",stdin);
^
user.cpp:72:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1564kb | OK | 10 |
2 | 20ms | 1700kb | OK | 10 |
3 | 4ms | 1548kb | OK | 10 |
4 | 44ms | 1588kb | OK | 10 |
5 | 64ms | 1632kb | OK | 10 |
6 | 56ms | 1660kb | OK | 10 |
7 | 48ms | 1588kb | OK | 10 |
8 | 0ms | 1536kb | OK | 10 |
9 | 0ms | 1340kb | OK | 10 |
10 | 4ms | 1536kb | OK | 10 |
Punctaj total | 100 |