Pagini recente » Cod sursa (job #2808523) | Borderou de evaluare (job #58048) | Borderou de evaluare (job #795598) | Borderou de evaluare (job #3039054) | Borderou de evaluare (job #1987180)
Borderou de evaluare (job #1987180)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:85:10: warning: unused variable ‘ch’ [-Wunused-variable]
char ch;
^
user.cpp: In function ‘void DFS(int)’:
user.cpp:101:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < G[node].size(); i++)
^
user.cpp:100:9: warning: variable ‘cnt’ set but not used [-Wunused-but-set-variable]
int cnt = 0;
^
user.cpp: In function ‘void DFS2(int, int, char)’:
user.cpp:116:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < G[node].size(); i++)
^
user.cpp:128:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < G[node].size(); i++)
^
user.cpp:150:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < G[node].size(); i++)
^
user.cpp: In function ‘void citeste(int&)’:
user.cpp:31:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,stdin),poz=0;
^
user.cpp:37:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,stdin),poz=0;
^
user.cpp: In function ‘void Read()’:
user.cpp:82:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N);
^
user.cpp:84:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", Val + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:191:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parb.out", "w", stdout);
^
user.cpp:192:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parb.in", "r", stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 8ms | 6172kb | OK | 10 | 10 |
2 | 8ms | 6356kb | OK | 10 | 10 |
3 | 48ms | 8856kb | OK | 10 | 20 |
4 | 668ms | 9488kb | OK | 10 |
5 | 56ms | 10116kb | OK | 10 | 10 |
6 | 128ms | 12900kb | OK | 10 | 0 |
7 | Depăşit | 15764kb | Time limit exceeded. | 0 |
8 | 736ms | 25508kb | OK | 10 | 0 |
9 | Depăşit | 19092kb | Time limit exceeded. | 0 |
10 | 772ms | 28668kb | OK | 10 |
Punctaj total | 50 |