Borderou de evaluare (job #2219737)

Utilizator Laura_CorneiLaura Maria Cornei Laura_Cornei Data 9 iulie 2018 17:02:42
Problema Frumusete Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:42:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if(frumc==k) nrsol++; nrsol%=mod; ^~ user.cpp:42:31: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ if(frumc==k) nrsol++; nrsol%=mod; ^~~~~ user.cpp:43:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(f2,"%d\n", nrsol); ^ user.cpp:26:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1, "%d", &t); ^ user.cpp:29:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1, "%d", &k); ^ user.cpp:30:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1, " %s", sir); ^ user.cpp:42:9: warning: ‘frumc’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(frumc==k) nrsol++; nrsol%=mod; ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit11972kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?