Pagini recente » Borderou de evaluare (job #2148775) | Borderou de evaluare (job #2790925) | Borderou de evaluare (job #188191) | Borderou de evaluare (job #1916259) | Borderou de evaluare (job #1396632)
Borderou de evaluare (job #1396632)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:64:72: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=]
for(int i=1;i<=m;i++) scanf("%d%d%d",&v1[i].t,&v1[i].nod,&v1[i].tip);
^
user.cpp:54:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("curent.in", "r", stdin);
^
user.cpp:55:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("curent.out", "w", stdout);
^
user.cpp:57:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:60:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:63:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:64:73: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=m;i++) scanf("%d%d%d",&v1[i].t,&v1[i].nod,&v1[i].tip);
^
user.cpp:68:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:72:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1472kb | OK | 5 |
2 | 0ms | 1472kb | OK | 5 |
3 | 0ms | 1468kb | OK | 5 |
4 | 0ms | 1472kb | OK | 5 |
5 | 0ms | 1468kb | OK | 5 |
6 | 20ms | 1932kb | OK | 5 |
7 | 24ms | 2068kb | OK | 5 |
8 | 44ms | 2656kb | OK | 5 |
9 | 56ms | 3340kb | OK | 10 |
10 | 84ms | 4076kb | OK | 10 |
11 | 156ms | 5232kb | OK | 10 |
12 | 188ms | 5976kb | OK | 10 |
13 | 208ms | 6404kb | OK | 10 |
14 | 228ms | 6844kb | OK | 10 |
Punctaj total | 100 |