Pagini recente » Cod sursa (job #1970597) | Borderou de evaluare (job #1848939) | Borderou de evaluare (job #2932128) | Borderou de evaluare (job #2164278) | Borderou de evaluare (job #1501395)
Borderou de evaluare (job #1501395)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:23:29: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%hd%hd",&a,&b);
^
user.cpp:23:29: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp: In function ‘void dfs(int)’:
user.cpp:36:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v[nod].size();i ++)
^
user.cpp: In function ‘int main()’:
user.cpp:58:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < v[nod].size(); i++){
^
user.cpp: In function ‘void citire()’:
user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:23:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd",&a,&b);
^
user.cpp: In function ‘int main()’:
user.cpp:48:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("capitala.in","r",stdin);
^
user.cpp:49:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("capitala.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 412kb | OK! | 10 | 10 |
2 | 0ms | 428kb | Incorect | 0 | 0 |
3 | 0ms | 440kb | Incorect | 0 | 0 |
4 | 4ms | 496kb | OK! | 10 | 10 |
5 | 8ms | 700kb | OK! | 10 | 10 |
6 | 12ms | 764kb | Incorect | 0 | 0 |
7 | 16ms | 856kb | OK! | 10 | 10 |
8 | 20ms | 988kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 12ms | 768kb | Wall time limit exceeded. | 0 |
10 | 16ms | 772kb | Wall time limit exceeded. | 0 |
Punctaj total | 40 |