Pagini recente » Borderou de evaluare (job #2517010) | Borderou de evaluare (job #992111) | Borderou de evaluare (job #3214101) | Borderou de evaluare (job #1927261) | Borderou de evaluare (job #2089019)
Borderou de evaluare (job #2089019)
Raport evaluator
Compilare:
user.cpp: In function ‘int doit(int)’:
user.cpp:25:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<G[n].size();i++)
^
user.cpp: In function ‘void doCost(int)’:
user.cpp:35:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<G[n].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:45:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dosare.in","r",stdin);
^
user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dosare.out","w",stdout);
^
user.cpp:47:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
user.cpp:50:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:55:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 640kb | OK | 10 |
2 | 0ms | 632kb | OK | 10 |
3 | 0ms | 644kb | OK | 10 |
4 | 0ms | 644kb | OK | 10 |
5 | 0ms | 652kb | OK | 10 |
6 | 0ms | 704kb | OK | 10 |
7 | 8ms | 936kb | OK | 10 |
8 | 12ms | 1044kb | OK | 10 |
9 | 12ms | 1104kb | OK | 10 |
10 | 12ms | 1112kb | OK | 10 |
Punctaj total | 100 |