Borderou de evaluare (job #1537737)

Utilizator Balescu_OvidiuBalescu Ovidiu-Gheorghe Balescu_Ovidiu Data 27 noiembrie 2015 21:32:35
Problema Cifra Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:66:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[101]’ [-Wformat=] fscanf(f,"%s",&n); ^ user.cpp:70:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(short i=k;i<strlen(n);i++) ^ user.cpp: In function ‘short int pow(short int, short int)’: user.cpp:57:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:62:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%u",&T); ^ user.cpp:66:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbRaspuns gresit!0
20ms272kbRaspuns gresit!0
30ms284kbRaspuns gresit!0
40ms280kbRaspuns gresit!0
50ms284kbRaspuns gresit!0
60ms280kbRaspuns gresit!0
74ms280kbRaspuns gresit!0
836ms280kbRaspuns gresit!0
916ms280kbRaspuns gresit!0
1028ms280kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?